diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 7d3dc69..18ec618 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -5,6 +5,15 @@ <%= link_to_if_authorized l(:label_settings), {:controller => 'projects', :action => 'settings', :id => @project, :tab => 'issues'}, :class => 'icon icon-settings' if User.current.allowed_to?(:manage_categories, @project) %> + <%= actions_dropdown do %> + <% if @project %> + <%= link_to l(:field_summary), project_issues_report_path(@project) %> + <% end %> + + <% if User.current.allowed_to?(:import_issues, @project, :global => true) %> + <%= link_to l(:button_import), new_issues_import_path %> + <% end %> + <% end %>

<%= @query.new_record? ? l(:label_issue_plural) : @query.name %>

@@ -52,16 +61,6 @@ <%= link_to_function l(:button_cancel), "hideModal(this);" %>

<% end %> - - <%= actions_dropdown do %> - <% if @project %> - <%= link_to l(:field_summary), project_issues_report_path(@project) %> - <% end %> - - <% if User.current.allowed_to?(:import_issues, @project, :global => true) %> - <%= link_to l(:button_import), new_issues_import_path %> - <% end %> - <% end %> <% end %>