aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-18 15:55:24 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-18 15:55:24 +0000
commitf702e84a412f22a93bc00b99e5994413294c82a4 (patch)
tree997291e1fea1c88e10af4fec5eb85be69aa96485 /archiva-modules
parent54577a7f4871ce617c121feabfbf252a21678709 (diff)
downloadarchiva-f702e84a412f22a93bc00b99e5994413294c82a4.tar.gz
archiva-f702e84a412f22a93bc00b99e5994413294c82a4.zip
magnify this view
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423491 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-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}}