Skip to content

Commit

Permalink
Merge pull request #14 from GeoCat/main-address-cards-test-fixes
Browse files Browse the repository at this point in the history
Fix failing unit tests
  • Loading branch information
josegar74 authored Dec 10, 2024
2 parents 490cd8a + d653aac commit 925ec38
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@
<!-- Removing for now, because if you close open popup
the title disappear. <h3 class="popover-title">{{cnts[0].role | translate}}</h3>-->
<div data-ng-repeat="c in cnts | orderBy:'organisation'">
<label class="visible-print" data-ng-if="::c.website" data-translate="">mdWebsite</label>
<label class="visible-print" data-ng-if="::c.website" data-translate=""
>mdWebsite</label
>
<a data-ng-href="{{::c.website}}" data-ng-if="::c.website">
<i class="fa fa-fw fa-link"></i>
{{c.organisation}}
Expand Down
1 change: 1 addition & 0 deletions web-ui/src/main/resources/catalog/style/gn_metadata.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "gn_search.less";
@import "gn_variables.less";

.panel-body .gn-metadata-view {
width: 100%;
Expand Down
6 changes: 6 additions & 0 deletions web-ui/src/main/resources/catalog/style/gn_variables.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// variables used in custom styles
// -------------------------------

@gn-spacing: 10px;
@gn-spacing-sm: 5px;
@gn-spacing-lg: 15px;
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../../../lib/style/bootstrap/less/variables.less";
@import "../../../lib/style/bootstrap/less/mixins/grid.less";
@import "gn_view.less";

// special print classes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@import "../../../style/gn_search.less";
@import "../../../style/gn_variables.less";
// variables for manipulating the theme
@import "gn_variables_default.less"; // must be last

Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
@import "../../../lib/style/bootstrap/less/variables.less";
@import "../../../style/gn_variables.less";

/* Defined here any custom style for the view
which has to be applied for all apps
(ie. admin, search, login, editor). */

@gn-spacing: 10px;
@gn-spacing-sm: 5px;
@gn-spacing-lg: 15px;

// padding
.gn-padding-top {
padding-top: @gn-spacing !important;
Expand Down

0 comments on commit 925ec38

Please sign in to comment.