From a8e3ddf382fa36c1c9d5532361091af098f8bb22 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 10 Sep 2008 01:49:51 +0000 Subject: [PATCH] Added context fields to the :view_projects_settings_members_table hooks * :view_projects_settings_members_table_header now has :project * :view_projects_settings_members_table_row now has :project * :view_projects_settings_members_table_row has a fixed :member field git-svn-id: http://redmine.rubyforge.org/svn/trunk@1796 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/projects/settings/_members.rhtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/projects/settings/_members.rhtml b/app/views/projects/settings/_members.rhtml index 9fdd3e5b4..67c3fb505 100644 --- a/app/views/projects/settings/_members.rhtml +++ b/app/views/projects/settings/_members.rhtml @@ -10,7 +10,7 @@ <%= l(:label_user) %> <%= l(:label_role) %> - <%= call_hook(:view_projects_settings_members_table_header) %> + <%= call_hook(:view_projects_settings_members_table_header, :project => @project) %> <% members.each do |member| %> @@ -31,7 +31,7 @@ }, :title => l(:button_delete), :class => 'icon icon-del' %> - <%= call_hook(:view_projects_settings_members_table_row, :member => @member) %> + <%= call_hook(:view_projects_settings_members_table_row, { :project => @project, :member => member}) %> <% end; reset_cycle %> -- 2.39.5