]> source.dussan.org Git - archiva.git/commitdiff
use an icon for delete artifact link
authorOlivier Lamy <olamy@apache.org>
Tue, 5 Jun 2012 23:17:59 +0000 (23:17 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 5 Jun 2012 23:17:59 +0000 (23:17 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346653 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.png [new file with mode: 0644]
archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html

diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.png
new file mode 100644 (file)
index 0000000..0e0953c
Binary files /dev/null and b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.png differ
index c82be8893a1f28e23f6b427193b750714baadf1f..a6608f5998d462521812aea4e7f16f82dda3f88c 100644 (file)
     {{each(i, row) artifacts()}}
       <li>
         {{if deleteKarma}}
-          <a href="#" data-bind="click: function(){deleteArtifact(row)}">del</a>:<a href="${row.url}">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</a>
+          <a href="#" data-bind="click: function(){deleteArtifact(row)}"><img src="images/trash.png"/></a>&nbsp;<a href="${row.url}">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</a>
         {{else}}
           <a href="${row.url}">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</a>
         {{/if}}