summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 16:37:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-06-20 16:37:58 +0000
commit56f6fd708dd0ac794ea2b79a2ae834c0a395a940 (patch)
tree4b9edebec7c1af259afdd0b1f69fdc2a52981442 /app
parentb4d3e429df05bccf0133a735e62ad16ff522bf61 (diff)
downloadredmine-56f6fd708dd0ac794ea2b79a2ae834c0a395a940.tar.gz
redmine-56f6fd708dd0ac794ea2b79a2ae834c0a395a940.zip
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
Diffstat (limited to 'app')
-rw-r--r--app/views/issues/_sidebar.html.erb13
-rw-r--r--app/views/issues/index.html.erb12
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 @@
-<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) %>
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);" %>
</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 %>