Feature #42147 ยป add_some_action_hooks.patch
| app/views/issues/_action_menu.html.erb | ||
|---|---|---|
|
<%= link_to sprite_icon('del', l(:button_delete_object, object_name: l(:label_issue)).capitalize), issue_path(@issue),
|
||
|
:data => {:confirm => issues_destroy_confirmation_message(@issue)},
|
||
|
:method => :delete, :class => 'icon icon-del ' if @issue.deletable? %>
|
||
|
<%= call_hook(:view_issues_show_action_dropdown_end, :issue => @issue) %>
|
||
|
<% end %>
|
||
|
</div>
|
||
| app/views/issues/index.html.erb | ||
|---|---|---|
|
<%= link_to_if_authorized sprite_icon('settings', l(:label_settings)),
|
||
|
{:controller => 'projects', :action => 'settings', :id => @project, :tab => 'issues'},
|
||
|
:class => 'icon icon-settings' if User.current.allowed_to?(:edit_project, @project) %>
|
||
|
<%= call_hook(:view_issues_index_contextual_dropdown_end, :issue => @issue) %>
|
||
|
<% end %>
|
||
|
</div>
|
||