use an other icon when the browse entry is an artifact.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293685 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-02-25 20:46:30 +00:00
parent 32e04baacf
commit 3a9e6ca968
4 changed files with 5 additions and 2 deletions

View File

@ -79,6 +79,9 @@
.browse-list{ .browse-list{
list-style-image: url("../images/folder.png") list-style-image: url("../images/folder.png")
} }
.browse-list-project{
list-style-image: url("../images/document-open.png")
}
.force-upper-case{ .force-upper-case{
text-transform: uppercase; text-transform: uppercase;

Binary file not shown.

After

Width:  |  Height:  |  Size: 672 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -48,12 +48,12 @@
{{/if}} {{/if}}
{{each(i,browseResultEntry) browseResultEntries}} {{each(i,browseResultEntry) browseResultEntries}}
{{if browseResultEntry.project}} {{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}} {{else}}
<li class="browse-list" data-bind="click:function(){displayGroupId(browseResultEntry.name)}"> <li class="browse-list" data-bind="click:function(){displayGroupId(browseResultEntry.name)}">
{{/if}} {{/if}}
<a href="#"> <a href="#">
&nbsp;${displayEntry(browseResultEntry.name)} (project: ${browseResultEntry.project}) &nbsp;${displayEntry(browseResultEntry.name)}
</a> </a>
</li> </li>
{{/each}} {{/each}}