Project

General

Profile

Patch #3625 ยป change_status.diff

Andrew Chaika, 2009-07-16 14:17

View differences:

Z:/redmine/app/views/issues/context_menu.rhtml (working copy)
9 9
		<ul>
10 10
		<% @statuses.each do |s| -%>
11 11
		    <li><%= context_menu_link s.name, {:controller => 'issues', :action => 'edit', :id => @issue, :issue => {:status_id => s}, :back_to => @back}, :method => :post,
12
		                              :selected => (s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li>
12
		                              :selected => (s == @issue.status), :disabled => !((@can[:update] || (User.current == @issue.assigned_to)) && @allowed_statuses.include?(s)) %></li>
13 13
		<% end -%>
14 14
		</ul>
15 15
	</li>
    (1-1/1)