diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-12 15:55:06 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-12 15:55:06 +0000 |
commit | 65e05d822acd6d9cd4cd77ac83e885cba2e52a3c (patch) | |
tree | ef3c2aaf1662e08ea1a906b7d7bc26c49da54855 /app/views | |
parent | bce286f45867050a835b93becae134167cf734d3 (diff) | |
download | redmine-65e05d822acd6d9cd4cd77ac83e885cba2e52a3c.tar.gz redmine-65e05d822acd6d9cd4cd77ac83e885cba2e52a3c.zip |
Status can now be updated when bulk editing issues.
Workflow permissions are applied as when changing the status of a single issue. The issue is not saved (and an error is displayed) if the status transition is not allowed for the user.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@831 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_bulk_edit_form.rhtml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/app/views/issues/_bulk_edit_form.rhtml b/app/views/issues/_bulk_edit_form.rhtml index 3824d9c05..a98c1f399 100644 --- a/app/views/issues/_bulk_edit_form.rhtml +++ b/app/views/issues/_bulk_edit_form.rhtml @@ -2,12 +2,18 @@ <fieldset class="box"><legend><%= l(:label_bulk_edit_selected_issues) %></legend> <p> +<% if @available_statuses %> +<label><%= l(:field_status) %>: +<%= select_tag('status_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %></label> +<% end %> <label><%= l(:field_priority) %>: <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label> -<label><%= l(:field_assigned_to) %>: -<%= select_tag('assigned_to_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label> <label><%= l(:field_category) %>: <%= select_tag('category_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label> +</p> +<p> +<label><%= l(:field_assigned_to) %>: +<%= select_tag('assigned_to_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label> <label><%= l(:field_fixed_version) %>: <%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label> </p> |