Skip to content

Commit

Permalink
patched js and patched html
Browse files Browse the repository at this point in the history
  • Loading branch information
cmangeat committed Oct 24, 2024
1 parent 717a639 commit 984088f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ <h1>
>
<div data-gn-status-badge="md"></div>
<div class="gn-toolbar">
<div class="pull-left">
<strong>
<i data-ng-if="::md.isHarvested == 'true'"
title="{{'harvestedRecord' | translate}}"
class="fa fa-fw fa-cloud-download text-primary"></i>
<i class="fa fa-fw"
data-ng-class="::md.isPublishedToAll ?
'fa-unlock text-success' : 'fa-lock text-warning'"></i>
</strong>
</div>
<gn-links-btn class="pull-right"></gn-links-btn>
<!-- <div data-gn-related-dropdown="md" data-user="user"></div>-->
</div>
Expand Down
21 changes: 1 addition & 20 deletions web/src/main/webapp/catalog/js/CatController.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,26 +697,7 @@
"search/resultsview/partials/viewtemplates/grid.html",
tooltip: "Grid",
icon: "fa-th",
related: []
},
{
tplUrl:
"../../catalog/components/" +
"search/resultsview/partials/viewtemplates/list.html",
tooltip: "List",
icon: "fa-bars",
related: ["parent", "children", "services", "datasets"]
},
{
tplUrl:
"../../catalog/components/" +
"search/resultsview/partials/viewtemplates/table.html",
tooltip: "Table",
icon: "fa-table",
related: [],
source: {
exclude: ["resourceAbstract*", "Org*", "contact*"]
}
related: []
}
],
// Optional. If not set, the first resultViewTpls is used.
Expand Down

0 comments on commit 984088f

Please sign in to comment.