mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 11:43:08 +00:00
Added hooks to issue_edit, issue_bulk_edit, and issue_show. #1147
This commit is contained in:
parent
404e6164cb
commit
00659ab8c5
@ -48,4 +48,8 @@
|
||||
<p><label><%=l(:label_attachment_plural)%></label><%= render :partial => 'attachments/form' %></p>
|
||||
<% end %>
|
||||
|
||||
<% if Redmine::Plugin::Hook.hook_registered?(:issue_edit) %>
|
||||
<%= Redmine::Plugin::Hook.call_hook(:issue_edit, {:project => @project, :issue => @issue, :form => f }) %>
|
||||
<% end %>
|
||||
|
||||
<%= wikitoolbar_for 'issue_description' %>
|
||||
|
||||
@ -38,6 +38,9 @@
|
||||
<label><%= l(:field_done_ratio) %>:
|
||||
<%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label>
|
||||
</p>
|
||||
<% if Redmine::Plugin::Hook.hook_registered?(:issue_bulk_edit) %>
|
||||
<%= Redmine::Plugin::Hook.call_hook(:issue_bulk_edit, {:project => @project, :issue => @issues }) %>
|
||||
<% end %>
|
||||
</fieldset>
|
||||
|
||||
<fieldset><legend><%= l(:field_notes) %></legend>
|
||||
|
||||
@ -53,6 +53,10 @@
|
||||
<%end
|
||||
end %>
|
||||
</tr>
|
||||
<% if Redmine::Plugin::Hook.hook_registered?(:issue_show) %>
|
||||
<%= Redmine::Plugin::Hook.call_hook(:issue_show, {:project => @project, :issue => @issue}) %>
|
||||
<% end %>
|
||||
|
||||
</table>
|
||||
<hr />
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user