]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1723] Provide tooltips for action icons
authorOlivier Lamy <olamy@apache.org>
Tue, 1 Jan 2013 23:07:57 +0000 (23:07 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 1 Jan 2013 23:07:57 +0000 (23:07 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427582 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/redback/user-edit.html

index b54425c6c617279194525efdb04cbb3fa183548f..dab5d4415a1f78e483eebfa0fdf1e39236ce159e 100644 (file)
@@ -256,6 +256,10 @@ password.reset=Reset Password
 password.reset.success=Password reset.
 rememberme=Remember Me
 user.login.welcome=Welcome {0}
+users.grid.unlock=Unlock
+users.grid.lock=Lock
+users.grid.unforceChangePassword=Not force password change
+users.grid.forceChangePassword=Force password change
 
 #roles management
 roles.management.header=Roles Management
index 9102ce2f027a293dd9869efe4074fbc3f3bc854b..3db9d88ce92a40ff30b6efa7816a77398168e167 100644 (file)
 
     {{if row.locked()==true}}
     <td>
-      <a href="#" data-bind="click: function(){ unlock(row) }"><img src="images/system-lock-screen-22-22.png"/></a>
+      <a href="#" data-bind="click: function(){ unlock(row) }">
+        <img src="images/system-lock-screen-22-22.png" title="${$.i18n.prop('users.grid.unlock')}"/>
+      </a>
     </td>
     {{else}}
     <td>
-      <a href="#" data-bind="click: function(){ lock(row) }"><img src="images/weather-clear-22-22.png"/></a>
+      <a href="#" data-bind="click: function(){ lock(row) }">
+        <img src="images/weather-clear-22-22.png" title="${$.i18n.prop('users.grid.lock')}"/>
+      </a>
     </td>
     {{/if}}
 
     {{if row.passwordChangeRequired()==true}}
     <td>
       <a href="#" data-bind="click: function(){ passwordChangeRequire(row,false) }">
-        <img src="images/dialog-error-22-22.png"/>
+        <img src="images/dialog-error-22-22.png" title="${$.i18n.prop('users.grid.unforceChangePassword')}"/>
       </a>
     </td>
     {{else}}
     <td>
       <a href="#" data-bind="click: function(){ passwordChangeRequire(row,true) }">
-        <img src="images/weather-clear-22-22.png"/>
+        <img src="images/weather-clear-22-22.png" title="${$.i18n.prop('users.grid.forceChangePassword')}"/>
       </a>
     </td>
     {{/if}}