]> source.dussan.org Git - archiva.git/commitdiff
use an other icon when the browse entry is an artifact.
authorOlivier Lamy <olamy@apache.org>
Sat, 25 Feb 2012 20:46:30 +0000 (20:46 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 25 Feb 2012 20:46:30 +0000 (20:46 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293685 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/css/archiva.css
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/document-open.png [new file with mode: 0644]
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-find.png [new file with mode: 0644]
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/archiva/templates/search.html

index 6284e7a8b6c28c25fcbdbac320cedfea784c156c..8060573d3ee3a05b830b90482364bbd68d1e63cf 100644 (file)
@@ -79,6 +79,9 @@
 .browse-list{
   list-style-image: url("../images/folder.png")
 }
+.browse-list-project{
+  list-style-image: url("../images/document-open.png")
+}
 
 .force-upper-case{
   text-transform: uppercase;
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/document-open.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/document-open.png
new file mode 100644 (file)
index 0000000..ab94046
Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/document-open.png differ
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-find.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-find.png
new file mode 100644 (file)
index 0000000..5594785
Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/edit-find.png differ
index 722c81e1201f3f04558be2d1fa74f8cd9620bf48..60ea5ec489d3df001bfdb099c5800900cd091add 100644 (file)
       {{/if}}
       {{each(i,browseResultEntry) browseResultEntries}}
         {{if browseResultEntry.project}}
-          <li class="browse-list" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">
+          <li class="browse-list-project" title="artifact" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">
         {{else}}
           <li class="browse-list" data-bind="click:function(){displayGroupId(browseResultEntry.name)}">
         {{/if}}
           <a href="#">
-            &nbsp;${displayEntry(browseResultEntry.name)} (project: ${browseResultEntry.project})
+            &nbsp;${displayEntry(browseResultEntry.name)}
           </a>
         </li>
       {{/each}}