From bb61c9a0ec4181a6fae213fe8e97380ca1ff69a2 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Sat, 1 Aug 2009 18:14:39 +0000 Subject: [PATCH] Added two new plugin hooks to Administration > Users > Memberships * view_users_memberships_table_header * view_users_memberships_table_row git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2829 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/users/_memberships.rhtml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/users/_memberships.rhtml b/app/views/users/_memberships.rhtml index 8b458e0b..cca982a3 100644 --- a/app/views/users/_memberships.rhtml +++ b/app/views/users/_memberships.rhtml @@ -8,6 +8,7 @@ <%= l(:label_project) %> <%= l(:label_role_plural) %> + <%= call_hook(:view_users_memberships_table_header, :user => @user )%> <% @user.memberships.each do |membership| %> @@ -31,6 +32,7 @@ :method => :post }, :class => 'icon icon-del' %> + <%= call_hook(:view_users_memberships_table_row, :user => @user, :membership => membership, :roles => roles, :projects => projects )%> <% end; reset_cycle %>