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
This commit is contained in:
Eric Davis 2009-08-01 18:14:39 +00:00
parent 6da352dc47
commit bb61c9a0ec
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
<th><%= l(:label_project) %></th> <th><%= l(:label_project) %></th>
<th><%= l(:label_role_plural) %></th> <th><%= l(:label_role_plural) %></th>
<th style="width:15%"></th> <th style="width:15%"></th>
<%= call_hook(:view_users_memberships_table_header, :user => @user )%>
</thead> </thead>
<tbody> <tbody>
<% @user.memberships.each do |membership| %> <% @user.memberships.each do |membership| %>
@ -31,6 +32,7 @@
:method => :post }, :method => :post },
:class => 'icon icon-del' %> :class => 'icon icon-del' %>
</td> </td>
<%= call_hook(:view_users_memberships_table_row, :user => @user, :membership => membership, :roles => roles, :projects => projects )%>
</tr> </tr>
</tbody> </tbody>
<% end; reset_cycle %> <% end; reset_cycle %>