1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

Fix that actions dropdown menu is missing (#30294).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18321 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-06-27 09:55:33 +00:00
parent bd6cfb17d6
commit 05d365a399

View File

@ -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 %>
</div>
<h2><%= @query.new_record? ? l(:label_issue_plural) : @query.name %></h2>
@ -52,16 +61,6 @@
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% 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 %>
</div>
<% end %>