aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-06-05 23:17:59 +0000
committerOlivier Lamy <olamy@apache.org>2012-06-05 23:17:59 +0000
commitb86ccb3ab1d772dd7e0333de7f34c7a1214bf012 (patch)
tree52f9ada6c3c8828cbba50485ed754fb0331af27b /archiva-modules
parent04a065a53a34630bd6013fcd08e4711168f97111 (diff)
downloadarchiva-b86ccb3ab1d772dd7e0333de7f34c7a1214bf012.tar.gz
archiva-b86ccb3ab1d772dd7e0333de7f34c7a1214bf012.zip
use an icon for delete artifact link
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346653 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.pngbin0 -> 655 bytes
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html2
2 files changed, 1 insertions, 1 deletions
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
index 000000000..0e0953c73
--- /dev/null
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/trash.png
Binary files differ
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html
index c82be8893..a6608f599 100644
--- a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html
@@ -844,7 +844,7 @@
{{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}}