diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-11 17:20:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-10-11 17:20:02 +0000 |
commit | ff2e0314009f086aeb69bab1dd4e10f2e3285dde (patch) | |
tree | 83ca0e3c2ddc75bbf6c63601388c0fd5e6f7a7cf /app/views | |
parent | 2ce184d1defaa3b96061b46fbcb905dfbce7d5f6 (diff) | |
download | redmine-ff2e0314009f086aeb69bab1dd4e10f2e3285dde.tar.gz redmine-ff2e0314009f086aeb69bab1dd4e10f2e3285dde.zip |
Bulk editing:
* Fixed: Done ratio always set to 0 even if (No change) is selected
* Added mail notifications
git-svn-id: http://redmine.rubyforge.org/svn/trunk@825 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_bulk_edit_form.rhtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/issues/_bulk_edit_form.rhtml b/app/views/issues/_bulk_edit_form.rhtml index fc0972fd6..3824d9c05 100644 --- a/app/views/issues/_bulk_edit_form.rhtml +++ b/app/views/issues/_bulk_edit_form.rhtml @@ -3,13 +3,13 @@ <p> <label><%= l(:field_priority) %>: -<%= select_tag('priority_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label> +<%= 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>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label> +<%= 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>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label> +<%= select_tag('category_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label> <label><%= l(:field_fixed_version) %>: -<%= select_tag('fixed_version_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label> +<%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label> </p> <p> @@ -18,7 +18,7 @@ <label><%= l(:field_due_date) %>: <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label> <label><%= l(:field_done_ratio) %>: -<%= select_tag 'done_ratio', options_for_select([l(:label_no_change_option)] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label> +<%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label> </p> <label for="notes"><%= l(:field_notes) %></label><br /> |