aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/drive-removable-media-16-16.pngbin0 -> 510 bytes
-rw-r--r--archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/js/templates/archiva/search.html20
2 files changed, 16 insertions, 4 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/drive-removable-media-16-16.png b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/drive-removable-media-16-16.png
new file mode 100644
index 000000000..915389828
--- /dev/null
+++ b/archiva-modules/archiva-web/archiva-webapp-js/src/main/webapp/images/drive-removable-media-16-16.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 648a8a6a5..ed2466f46 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
@@ -930,12 +930,24 @@
<ul id="artifact-download-list-files" class="package-list">
{{each(i, row) artifacts()}}
<li>
- <img src="images/system-search-16-16.png" class="cursor-hand" id="${row.classifier}:${row.version}:${row.packaging}"/>
+ <img src="images/system-search-16-16.png" class="cursor-hand" id="${row.classifier}:${row.version}:${row.packaging}"
+ title="${$.i18n.prop('browse.artifact.content.view.tooltip')}"/>
{{if deleteKarma}}
- <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>
+ <a href="#" data-bind="click: function(){deleteArtifact(row)}">
+ <img src="images/trash.png" title="${$.i18n.prop('browse.artifact.content.delete.tooltip')}"/>
+ </a>
+ &nbsp;
+ <a href="${row.url}">
+ <img src="images/drive-removable-media-16-16.png" title="${$.i18n.prop('browse.artifact.content.download.tooltip')}"/>
+ </a>
+ &nbsp;
+ <span class="text-info">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</span>
{{else}}
- <a href="${row.url}">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</a>
+ <a href="${row.url}">
+ <img src="images/drive-removable-media-16-16.png" title="${$.i18n.prop('browse.artifact.content.download.tooltip')}"/>
+ </a>
+ &nbsp;
+ <span class="text-info">${row.packaging}:${row.version}&nbsp;-&nbsp;${row.size}</span>
{{/if}}
</li>
{{/each}}