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
pull/351/head
Eric Davis 15 years ago
parent 6da352dc47
commit bb61c9a0ec
  1. 2
      app/views/users/_memberships.rhtml

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

Loading…
Cancel
Save