diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2011-06-13 19:43:40 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2011-06-13 19:43:40 +0000 |
commit | d5cc7424a815a68a21ea080827f737d00b18e88e (patch) | |
tree | b858b5c0b36a152d82bbdd2a1acc33086373a8f2 /app/views | |
parent | bbf1ae581eb90cd516f33d245248b4d394abcf86 (diff) | |
download | redmine-d5cc7424a815a68a21ea080827f737d00b18e88e.tar.gz redmine-d5cc7424a815a68a21ea080827f737d00b18e88e.zip |
Do not show inactive issue priorities where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6070 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issue_moves/new.rhtml | 2 | ||||
-rw-r--r-- | app/views/issues/bulk_edit.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issue_moves/new.rhtml b/app/views/issue_moves/new.rhtml index 24d59aedc..a8a053c4c 100644 --- a/app/views/issue_moves/new.rhtml +++ b/app/views/issue_moves/new.rhtml @@ -32,7 +32,7 @@ <p> <label><%= l(:field_priority) %></label> - <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.all, :id, :name)) %> + <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %> </p> <p> diff --git a/app/views/issues/bulk_edit.rhtml b/app/views/issues/bulk_edit.rhtml index 71b30ddac..eebce21b4 100644 --- a/app/views/issues/bulk_edit.rhtml +++ b/app/views/issues/bulk_edit.rhtml @@ -21,7 +21,7 @@ <% end %> <p> <label><%= l(:field_priority) %></label> - <%= select_tag('issue[priority_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.all, :id, :name)) %> + <%= select_tag('issue[priority_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(IssuePriority.active, :id, :name)) %> </p> <p> <label><%= l(:field_assigned_to) %></label> |