diff options
Diffstat (limited to 'app/views/roles/report.rhtml')
-rw-r--r-- | app/views/roles/report.rhtml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/roles/report.rhtml b/app/views/roles/report.rhtml index 8e254379e..f5ebc8845 100644 --- a/app/views/roles/report.rhtml +++ b/app/views/roles/report.rhtml @@ -19,14 +19,14 @@ <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %> <% perms_by_module.keys.sort.each do |mod| %> <% unless mod.blank? %> - <tr><%= content_tag('th', mod.humanize, :colspan => (@roles.size + 1), :align => 'left') %></tr> + <tr><%= content_tag('th', l_or_humanize(mod, :prefix => 'project_module_'), :colspan => (@roles.size + 1), :align => 'left') %></tr> <% end %> <% perms_by_module[mod].each do |permission| %> <tr class="<%= cycle('odd', 'even') %> permission-<%= permission.name %>"> <td> <%= link_to_function(image_tag('toggle_check.png'), "toggleCheckboxesBySelector('.permission-#{permission.name} input')", :title => "#{l(:button_check_all)}/#{l(:button_uncheck_all)}") %> - <%= permission.name.to_s.humanize %> + <%= l_or_humanize(permission.name, :prefix => 'permission_') %> </td> <% @roles.each do |role| %> <td align="center"> |