]> source.dussan.org Git - redmine.git/commitdiff
Added hooks for the member page. #1147
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 28 May 2008 00:12:28 +0000 (17:12 -0700)
committerEric Davis <edavis@littlestreamsoftware.com>
Thu, 24 Jul 2008 00:27:06 +0000 (17:27 -0700)
app/views/projects/settings/_members.rhtml

index ab22ac602fec018c0b30b3d8a1d3d85a9f8c7d33..0ebe3285fe3ad0b5dec9fe09842bba31cbe3036f 100644 (file)
@@ -9,6 +9,9 @@
        <thead>
          <th><%= l(:label_user) %></th>
          <th><%= l(:label_role) %></th>
+          <% if Redmine::Plugin::Hook.hook_registered?(:project_member_list_header) %>
+          <%=  Redmine::Plugin::Hook.call_hook(:project_member_list_header, {:project => @project }) %>
+          <% end %>
          <th style="width:15%"></th>
        </thead>
        <tbody>
       <% end %>
     <% end %>
     </td>
+    <% if Redmine::Plugin::Hook.hook_registered?(:project_member_list_column_three) %>
+    <%=  Redmine::Plugin::Hook.call_hook(:project_member_list_column_three, {:project => @project, :member => member }) %>
+    <% end %>
+
     <td align="center">
       <%= link_to_remote l(:button_delete), { :url => {:controller => 'members', :action => 'destroy', :id => member},                                              
                                               :method => :post