From 56f6fd708dd0ac794ea2b79a2ae834c0a395a940 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 20 Jun 2019 16:37:58 +0000 Subject: [PATCH] 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 --- app/views/issues/_sidebar.html.erb | 13 ------------- app/views/issues/index.html.erb | 12 ++++++++++++ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb index 38d682b04..11174d357 100644 --- a/app/views/issues/_sidebar.html.erb +++ b/app/views/issues/_sidebar.html.erb @@ -1,16 +1,3 @@ -

<%= l(:label_issue_plural) %>

- - - <%= call_hook(:view_issues_sidebar_issues_bottom) %> <%= call_hook(:view_issues_sidebar_planning_bottom) %> diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 5efc22205..7000c5e55 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -52,6 +52,18 @@ <%= link_to_function l(:button_cancel), "hideModal(this);" %>

<% 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 %> <% end %>