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
pull/351/head
Jean-Philippe Lang 17 years ago
parent 30a7314b86
commit 616899d879
  1. 2
      app/views/issues/_form.rhtml

@ -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…
Cancel
Save