Commit 8b8c24e6 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes context menu broken by r3109 (#2405).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3111 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 25e131f1
......@@ -421,9 +421,9 @@ class IssuesController < ApplicationController
if @project
@assignables = @project.assignable_users
@assignables << @issue.assigned_to if @issue && @issue.assigned_to && !@assignables.include?(@issue.assigned_to)
@trackers = @project.trackers
end
@trackers = @project.trackers
@priorities = IssuePriority.all.reverse
@statuses = IssueStatus.find(:all, :order => 'position')
@back = params[:back_url] || request.env['HTTP_REFERER']
......
......@@ -18,6 +18,7 @@
:class => 'icon-edit', :disabled => !@can[:edit] %></li>
<% end %>
<% unless @tracker.nil? %>
<li class="folder">
<a href="#" class="submenu"><%= l(:field_tracker) %></a>
<ul>
......@@ -27,6 +28,7 @@
<% end -%>
</ul>
</li>
<% end %>
<li class="folder">
<a href="#" class="submenu"><%= l(:field_priority) %></a>
<ul>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment