Browse Source

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
tags/4.1.0
Jean-Philippe Lang 5 years ago
parent
commit
56f6fd708d
2 changed files with 12 additions and 13 deletions
  1. 0
    13
      app/views/issues/_sidebar.html.erb
  2. 12
    0
      app/views/issues/index.html.erb

+ 0
- 13
app/views/issues/_sidebar.html.erb 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) %>


+ 12
- 0
app/views/issues/index.html.erb 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 %>

Loading…
Cancel
Save