Project

General

Profile

Defect #42143 ยป add_some_action_hooks.patch

Ctrl Sup, 2025-01-22 18:01

View differences:

app/views/issues/_action_menu.html.erb
12 12
  <%= link_to sprite_icon('del', l(:button_delete_object, object_name: l(:label_issue)).capitalize), issue_path(@issue),
13 13
              :data => {:confirm => issues_destroy_confirmation_message(@issue)},
14 14
              :method => :delete, :class => 'icon icon-del ' if @issue.deletable? %>
15
  <%= call_hook(:view_issues_show_action_dropdown_end, :issue => @issue) %>
15 16
<% end %>
16 17
</div>
app/views/issues/index.html.erb
14 14
    <%= link_to_if_authorized sprite_icon('settings', l(:label_settings)),
15 15
                              {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'issues'},
16 16
                              :class => 'icon icon-settings' if User.current.allowed_to?(:edit_project, @project) %>
17
    <%= call_hook(:view_issues_index_contextual_dropdown_end, :issue => @issue) %>
17 18
  <% end %>
18 19
</div>
19 20

  
    (1-1/1)