From 984088f4e42b36975d4c3a350a05881faca96a60 Mon Sep 17 00:00:00 2001 From: christophe mangeat Date: Thu, 24 Oct 2024 18:09:55 +0200 Subject: [PATCH] patched js and patched html --- .../partials/viewtemplates/grid.html | 10 +++++++++ .../main/webapp/catalog/js/CatController.js | 21 +------------------ 2 files changed, 11 insertions(+), 20 deletions(-) diff --git a/web/src/main/webapp/catalog/components/search/resultsview/partials/viewtemplates/grid.html b/web/src/main/webapp/catalog/components/search/resultsview/partials/viewtemplates/grid.html index 7b4e9717dc..bd3d9258f0 100644 --- a/web/src/main/webapp/catalog/components/search/resultsview/partials/viewtemplates/grid.html +++ b/web/src/main/webapp/catalog/components/search/resultsview/partials/viewtemplates/grid.html @@ -88,6 +88,16 @@

>
+
+ + + + +
diff --git a/web/src/main/webapp/catalog/js/CatController.js b/web/src/main/webapp/catalog/js/CatController.js index 65b8d949d7..ecece71593 100644 --- a/web/src/main/webapp/catalog/js/CatController.js +++ b/web/src/main/webapp/catalog/js/CatController.js @@ -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.