##// END OF EJS Templates
Bulk editing:...
Jean-Philippe Lang -
r814:ff2e0314009f
parent child
Show More
@@ -1,30 +1,30
1 <div id="bulk-edit-fields">
1 <div id="bulk-edit-fields">
2 <fieldset class="box"><legend><%= l(:label_bulk_edit_selected_issues) %></legend>
2 <fieldset class="box"><legend><%= l(:label_bulk_edit_selected_issues) %></legend>
3
3
4 <p>
4 <p>
5 <label><%= l(:field_priority) %>:
5 <label><%= l(:field_priority) %>:
6 <%= select_tag('priority_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label>
6 <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label>
7 <label><%= l(:field_assigned_to) %>:
7 <label><%= l(:field_assigned_to) %>:
8 <%= select_tag('assigned_to_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
8 <%= select_tag('assigned_to_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
9 <label><%= l(:field_category) %>:
9 <label><%= l(:field_category) %>:
10 <%= select_tag('category_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label>
10 <%= select_tag('category_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label>
11 <label><%= l(:field_fixed_version) %>:
11 <label><%= l(:field_fixed_version) %>:
12 <%= select_tag('fixed_version_id', "<option>#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label>
12 <%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label>
13 </p>
13 </p>
14
14
15 <p>
15 <p>
16 <label><%= l(:field_start_date) %>:
16 <label><%= l(:field_start_date) %>:
17 <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %></label>
17 <%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %></label>
18 <label><%= l(:field_due_date) %>:
18 <label><%= l(:field_due_date) %>:
19 <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label>
19 <%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label>
20 <label><%= l(:field_done_ratio) %>:
20 <label><%= l(:field_done_ratio) %>:
21 <%= select_tag 'done_ratio', options_for_select([l(:label_no_change_option)] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label>
21 <%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label>
22 </p>
22 </p>
23
23
24 <label for="notes"><%= l(:field_notes) %></label><br />
24 <label for="notes"><%= l(:field_notes) %></label><br />
25 <%= text_area_tag 'notes', '', :cols => 80, :rows => 5 %>
25 <%= text_area_tag 'notes', '', :cols => 80, :rows => 5 %>
26
26
27 </fieldset>
27 </fieldset>
28 <p><%= submit_tag l(:button_apply) %>
28 <p><%= submit_tag l(:button_apply) %>
29 <%= link_to l(:button_cancel), {}, :onclick => 'Element.hide("bulk-edit-fields"); if ($("query_form")) {Element.show("query_form")}; return false;' %></p>
29 <%= link_to l(:button_cancel), {}, :onclick => 'Element.hide("bulk-edit-fields"); if ($("query_form")) {Element.show("query_form")}; return false;' %></p>
30 </div>
30 </div>
General Comments 0
You need to be logged in to leave comments. Login now