shows export links on global issues#index page again that where wrongfully hidden

pull/1186/head
Jens Ulferts 12 years ago
parent 81e03169e3
commit 80d2259431
  1. 8
      app/views/issues/index.html.erb

@ -77,10 +77,10 @@
<% end %>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => { :project_id => @project, :query_id => (@query.new_record? ? nil : @query), :key => User.current.rss_key } %>
<%= f.link_to 'CSV', :url => { :project_id => @project } %>
<%= f.link_to 'PDF', :url => { :project_id => @project } %>
<% end if User.current.allowed_to? :export_issues, @project %>
<%= f.link_to 'Atom', :url => { :project_id => @project, :query_id => (@query.new_record? ? nil : @query), :key => User.current.rss_key } %>
<%= f.link_to 'CSV', :url => { :project_id => @project } %>
<%= f.link_to 'PDF', :url => { :project_id => @project } %>
<% end if User.current.allowed_to? :export_issues, @project, :global => @project.nil? %>
<% end %>
<%= call_hook(:view_issues_index_bottom, { :issues => @issues, :project => @project, :query => @query }) %>

Loading…
Cancel
Save