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
This commit is contained in:
parent
de7d367820
commit
a8e3ddf382
|
@ -10,7 +10,7 @@
|
||||||
<th><%= l(:label_user) %></th>
|
<th><%= l(:label_user) %></th>
|
||||||
<th><%= l(:label_role) %></th>
|
<th><%= l(:label_role) %></th>
|
||||||
<th style="width:15%"></th>
|
<th style="width:15%"></th>
|
||||||
<%= call_hook(:view_projects_settings_members_table_header) %>
|
<%= call_hook(:view_projects_settings_members_table_header, :project => @project) %>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% members.each do |member| %>
|
<% members.each do |member| %>
|
||||||
|
@ -31,7 +31,7 @@
|
||||||
}, :title => l(:button_delete),
|
}, :title => l(:button_delete),
|
||||||
:class => 'icon icon-del' %>
|
:class => 'icon icon-del' %>
|
||||||
</td>
|
</td>
|
||||||
<%= call_hook(:view_projects_settings_members_table_row, :member => @member) %>
|
<%= call_hook(:view_projects_settings_members_table_row, { :project => @project, :member => member}) %>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
<% end; reset_cycle %>
|
<% end; reset_cycle %>
|
||||||
|
|
Loading…
Reference in New Issue