Patch #30294 » 0001-Move-the-links-from-the-Issues-section-of-the-issues.patch
| app/views/issues/_sidebar.html.erb | ||
|---|---|---|
|
<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) %>
|
||
| app/views/issues/index.html.erb | ||
|---|---|---|
|
<% if User.current.allowed_to?(:add_issues, @project, :global => true) && (@project.nil? || Issue.allowed_target_trackers(@project).any?) %>
|
||
|
<%= link_to l(:label_issue_new), _new_project_issue_path(@project), :class => 'icon icon-add new-issue' %>
|
||
|
<% 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>
|
||
|
<h2><%= @query.new_record? ? l(:label_issue_plural) : @query.name %></h2>
|
||