Add hook for adding a link to another format to issues/index view

This will be used e.g. for an XLS export plugin.
pull/358/head
Michael Frister 11 years ago committed by Michael Frister
parent d3d727c5eb
commit 0ffd832179
  1. 1
      app/views/issues/index.html.erb

@ -99,6 +99,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= f.link_to I18n.t(:label_pdf_with_descriptions), :url => { :project_id => @project,
:show_descriptions => true,
:format => 'pdf' } %>
<%= call_hook(:view_issues_index_other_formats, :link_formatter => f) %>
<% end if User.current.allowed_to? :export_issues, @project, :global => @project.nil? %>
<% end %>

Loading…
Cancel
Save