]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1723] Provide tooltips for action icons
authorOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 16:12:30 +0000 (16:12 +0000)
committerOlivier Lamy <olamy@apache.org>
Mon, 31 Dec 2012 16:12:30 +0000 (16:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427161 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-web-common/src/main/resources/org/apache/archiva/i18n/default.properties
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/js/templates/archiva/search.html

index dfcd241eb01fb2e2bab6f7ad7b39028b4bcb44f5..b54425c6c617279194525efdb04cbb3fa183548f 100644 (file)
@@ -317,6 +317,9 @@ browse.artifact.organization.name=Organization
 browse.artifact.organization.issueManagement=Issue Tracker
 browse.artifact.description=Description
 browse.artifact.packaging=Packaging
+browse.home=Home
+browse.refresh=Refresh
+browse.delete=Delete
 
 #search
 search.artifact.header=Search
index 01a43dcbd45f7bebb9c0f35673af87da20e038ee..bb491d614bdb747ba117fb50a96684d937145286 100644 (file)
@@ -54,7 +54,8 @@
         {{if deleteKarma}}
           <li class="browse-list-project">
             <img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png"
-                 data-bind="click:function(){deleteProject(groupId,displayEntry(browseResultEntry.name))}"/>
+                 data-bind="click:function(){deleteProject(groupId,displayEntry(browseResultEntry.name))}"
+                 title="${$.i18n.prop('browse.delete')}"/>
             <a href="#" data-bind="click:function(){displayProjectEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
             <a href="${$root.feedsUrl}/${$root.groupId}/${browseResultEntry.name}"><img src="images/atom.gif"/></a>
           </li>
@@ -68,7 +69,8 @@
         {{if deleteKarma}}
           <li class="browse-list">
             <img class="cursor-hand" id="delete-${browseResultEntry.name}" src="images/trash.png"
-                 data-bind="click:function(){deleteGroupId(browseResultEntry.name)}"/>
+                 data-bind="click:function(){deleteGroupId(browseResultEntry.name)}"
+                 title="${$.i18n.prop('browse.delete')}"/>
             <a data-bind="click:function(){displayGroupId(browseResultEntry.name)}" href="#"
                title="folder ${displayEntry(browseResultEntry.name)}">${displayEntry(browseResultEntry.name)}</a>
           </li>
 <script id="browse-breadcrumb-tmpl" type="text/html">
   <ul class="breadcrumb">
     <li>
-      <img class="cursor-hand" src="images/view-refresh.png" data-bind="click: function(){refreshContent()}"/>
+      <img class="cursor-hand" src="images/view-refresh.png" data-bind="click: function(){refreshContent()}" title="${$.i18n.prop('browse.refresh')}"/>
     </li>
     <li>
-      <a href="#" data-bind="click: function(){ browseRoot()}"><img src="images/go-home.png"/></a>&nbsp;<span
+      <a href="#" data-bind="click: function(){ browseRoot()}"><img src="images/go-home.png" title="${$.i18n.prop('browse.home')}"/></a>&nbsp;<span
             class="divider">/</span>
     </li>
     {{var number=breadCrumbEntries().length}}
           <tr>
             {{if deleteKarma}}
             <th><a id="delete-${version}" href="#" data-bind="click: function(){deleteVersion(version)}"><img
-                    src="images/trash.png"/></a>&nbsp;<a href="#"
+                    src="images/trash.png" title="${$.i18n.prop('browse.delete')}"/></a>&nbsp;<a href="#"
                                                          data-bind="click: function(){displayArtifactVersionDetail(version)}">${version}</a>
             </th>
             {{else}}