From 3c4b30db71bda81caaffe70f782224cd77ae8c34 Mon Sep 17 00:00:00 2001 From: Lauren Date: Mon, 2 May 2016 15:15:25 -0700 Subject: [PATCH] Display private lock icon in the search results too --- metacatui/src/main/webapp/css/metacatui-common.css | 2 +- metacatui/src/main/webapp/js/templates/resultsItem.html | 3 +++ .../main/webapp/js/themes/arctic/templates/resultsItem.html | 3 +++ .../main/webapp/js/themes/dataone/templates/resultsItem.html | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/metacatui/src/main/webapp/css/metacatui-common.css b/metacatui/src/main/webapp/css/metacatui-common.css index c58acc8c7..fcead308f 100644 --- a/metacatui/src/main/webapp/css/metacatui-common.css +++ b/metacatui/src/main/webapp/css/metacatui-common.css @@ -364,6 +364,7 @@ img.icon{ } .info-icons .icon.private{ font-size: 1.5em; + color: #FF7600; } .result-row .info-icons .label{ background-color: #5E8497; @@ -1204,7 +1205,6 @@ img.icon{ .metadata-controls-container .info-icons{ display: inline-block; padding-left: 20px; - color: #FF7600; font-size: 1.2em; top: 5px; position: relative; diff --git a/metacatui/src/main/webapp/js/templates/resultsItem.html b/metacatui/src/main/webapp/js/templates/resultsItem.html index b67f909fb..acbf28988 100644 --- a/metacatui/src/main/webapp/js/templates/resultsItem.html +++ b/metacatui/src/main/webapp/js/templates/resultsItem.html @@ -5,6 +5,9 @@
+ <% if(!isPublic){ %> +
+ <% } %>
<% if ((resourceMap && (typeof resourceMap != "undefined")) && (resourceMap.length > 1)) { diff --git a/metacatui/src/main/webapp/js/themes/arctic/templates/resultsItem.html b/metacatui/src/main/webapp/js/themes/arctic/templates/resultsItem.html index a046c1bee..d6190c7d1 100644 --- a/metacatui/src/main/webapp/js/themes/arctic/templates/resultsItem.html +++ b/metacatui/src/main/webapp/js/themes/arctic/templates/resultsItem.html @@ -2,6 +2,9 @@
+ <% if(!isPublic){ %> +
+ <% } %>
<% if ((resourceMap && (typeof resourceMap != "undefined")) && (resourceMap.length > 1)) { diff --git a/metacatui/src/main/webapp/js/themes/dataone/templates/resultsItem.html b/metacatui/src/main/webapp/js/themes/dataone/templates/resultsItem.html index 3c9d8a341..1ba8792f8 100644 --- a/metacatui/src/main/webapp/js/themes/dataone/templates/resultsItem.html +++ b/metacatui/src/main/webapp/js/themes/dataone/templates/resultsItem.html @@ -6,7 +6,7 @@
<% if(!isPublic){ %> -
+
<% } %> <% if(typeof abstract != "undefined"){ %>