Commit 616899d8 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent 30a7314b
......@@ -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>
......
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