From 814e138c2a1105f8d9d10c4362a889dd71aff32d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 10 May 2009 10:43:19 +0000 Subject: [PATCH] Slight change to the permissions report view, with folding support. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2725 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/roles/report.rhtml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/roles/report.rhtml b/app/views/roles/report.rhtml index f5ebc884..b30730ad 100644 --- a/app/views/roles/report.rhtml +++ b/app/views/roles/report.rhtml @@ -19,7 +19,12 @@ <% perms_by_module = @permissions.group_by {|p| p.project_module.to_s} %> <% perms_by_module.keys.sort.each do |mod| %> <% unless mod.blank? %> - <%= content_tag('th', l_or_humanize(mod, :prefix => 'project_module_'), :colspan => (@roles.size + 1), :align => 'left') %> + + +   + <%= l_or_humanize(mod, :prefix => 'project_module_') %> + + <% end %> <% perms_by_module[mod].each do |permission| %>