1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-14 05:03:31 +00:00

Move the links from the sidebar under actions dropdown (#30294).

Patch by Marius BALTEANU.

git-svn-id: http://svn.redmine.org/redmine/trunk@18303 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2019-06-20 16:37:58 +00:00
parent b4d3e429df
commit 56f6fd708d
2 changed files with 12 additions and 13 deletions

View File

@ -1,16 +1,3 @@
<h3><%= l(:label_issue_plural) %></h3>
<ul>
<li><%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %></li>
<% if @project %>
<li><%= link_to l(:field_summary), project_issues_report_path(@project) %></li>
<% end %>
<% if User.current.allowed_to?(:import_issues, @project, :global => true) %>
<li><%= link_to l(:button_import), new_issues_import_path %></li>
<% end %>
</ul>
<%= call_hook(:view_issues_sidebar_issues_bottom) %>
<%= call_hook(:view_issues_sidebar_planning_bottom) %>

View File

@ -52,6 +52,18 @@
<%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>
<%= actions_dropdown do %>
<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %>
<% 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 %>