##// END OF EJS Templates
Author should be displayed as assignable on a single issue right click menu (#7136)....
Jean-Philippe Lang -
r6190:d0889f9127c6
parent child
Show More
@@ -26,8 +26,11 class ContextMenusController < ApplicationController
26 :delete => User.current.allowed_to?(:delete_issues, @projects)
26 :delete => User.current.allowed_to?(:delete_issues, @projects)
27 }
27 }
28 if @project
28 if @project
29 @assignables = @project.assignable_users
29 if @issue
30 @assignables << @issue.assigned_to if @issue && @issue.assigned_to && !@assignables.include?(@issue.assigned_to)
30 @assignables = @issue.assignable_users
31 else
32 @assignables = @project.assignable_users
33 end
31 @trackers = @project.trackers
34 @trackers = @project.trackers
32 else
35 else
33 #when multiple projects, we only keep the intersection of each set
36 #when multiple projects, we only keep the intersection of each set
General Comments 0
You need to be logged in to leave comments. Login now