issue_context_menu_hook.diff

Florian Schwab, 2013-11-29 16:31

Download (768 Bytes)

View differences:

app/views/issues/_action_menu.html.erb (Arbeitskopie)
4 4
<%= watcher_link(@issue, User.current) %>
5 5
<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
6 6
<%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
7
<%= call_hook(:view_issues_show_contextual, { :issue => @issue, :project => @project }) %>
7 8
</div>