Adding title for role icons when viewing user isn't an admin, re-adding translations for those.
This commit is contained in:
parent
8a7040e155
commit
9b82acded9
2 changed files with 3 additions and 1 deletions
|
@ -7,7 +7,7 @@
|
|||
<%= link_to(image_tag("roles/blank_#{role}.png", :size => "20x20", :border => 0, :alt => t("user.view.role.grant.#{role}"), :title => t("user.view.role.grant.#{role}")), :controller => 'user_roles', :action => 'grant', :display_name => @this_user.display_name, :role => role) %>
|
||||
<% end %>
|
||||
<% elsif @this_user.has_role? role %>
|
||||
<%= image_tag("roles/#{role}.png", :size => "20x20", :border => 0, :alt => t("user.view.role.#{role}")) %>
|
||||
<%= image_tag("roles/#{role}.png", :size => "20x20", :border => 0, :alt => t("user.view.role.#{role}"), :title => t("user.view.role.#{role}")) %>
|
||||
<% end %>
|
||||
<% end %></h2>
|
||||
<div id="userinformation">
|
||||
|
|
|
@ -948,6 +948,8 @@ en:
|
|||
change your settings: change your settings
|
||||
my_oauth_details: "View my OAuth details"
|
||||
role:
|
||||
administrator: "Administrator"
|
||||
moderator: "Moderator"
|
||||
grant:
|
||||
administrator: "Grant administrator access"
|
||||
moderator: "Grant moderator access"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue