Fixed: empty status list shouldn't be displayed when the user can not change the status.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1139 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
30a7314b86
commit
616899d879
|
@ -15,7 +15,7 @@
|
|||
</div>
|
||||
|
||||
<div class="splitcontentleft">
|
||||
<% if @issue.new_record? || @allowed_statuses %>
|
||||
<% if @issue.new_record? || @allowed_statuses.any? %>
|
||||
<p><%= f.select :status_id, (@allowed_statuses.collect {|p| [p.name, p.id]}), :required => true %></p>
|
||||
<% else %>
|
||||
<p><label><%= l(:field_status) %></label> <%= @issue.status.name %></p>
|
||||
|
|
Loading…
Reference in New Issue