Mercurial > hg > soundsoftware-site
comparison app/views/issues/.svn/text-base/bulk_edit.rhtml.svn-base @ 37:94944d00e43c
* Update to SVN trunk rev 4411
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Fri, 19 Nov 2010 13:24:41 +0000 |
parents | 1d32c0a0efbf |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
22:40f7cfd4df19 | 37:94944d00e43c |
---|---|
9 <legend><%= l(:label_change_properties) %></legend> | 9 <legend><%= l(:label_change_properties) %></legend> |
10 | 10 |
11 <div class="splitcontentleft"> | 11 <div class="splitcontentleft"> |
12 <p> | 12 <p> |
13 <label><%= l(:field_tracker) %></label> | 13 <label><%= l(:field_tracker) %></label> |
14 <%= select_tag('issue[tracker_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.trackers, :id, :name)) %> | 14 <%= select_tag('issue[tracker_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@trackers, :id, :name)) %> |
15 </p> | 15 </p> |
16 <% if @available_statuses.any? %> | 16 <% if @available_statuses.any? %> |
17 <p> | 17 <p> |
18 <label><%= l(:field_status) %></label> | 18 <label><%= l(:field_status) %></label> |
19 <%= select_tag('issue[status_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %> | 19 <%= select_tag('issue[status_id]', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@available_statuses, :id, :name)) %> |
25 </p> | 25 </p> |
26 <p> | 26 <p> |
27 <label><%= l(:field_assigned_to) %></label> | 27 <label><%= l(:field_assigned_to) %></label> |
28 <%= select_tag('issue[assigned_to_id]', content_tag('option', l(:label_no_change_option), :value => '') + | 28 <%= select_tag('issue[assigned_to_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
29 content_tag('option', l(:label_nobody), :value => 'none') + | 29 content_tag('option', l(:label_nobody), :value => 'none') + |
30 options_from_collection_for_select(@project.assignable_users, :id, :name)) %> | 30 options_from_collection_for_select(@assignables, :id, :name)) %> |
31 </p> | 31 </p> |
32 <% if @project %> | |
32 <p> | 33 <p> |
33 <label><%= l(:field_category) %></label> | 34 <label><%= l(:field_category) %></label> |
34 <%= select_tag('issue[category_id]', content_tag('option', l(:label_no_change_option), :value => '') + | 35 <%= select_tag('issue[category_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
35 content_tag('option', l(:label_none), :value => 'none') + | 36 content_tag('option', l(:label_none), :value => 'none') + |
36 options_from_collection_for_select(@project.issue_categories, :id, :name)) %> | 37 options_from_collection_for_select(@project.issue_categories, :id, :name)) %> |
37 </p> | 38 </p> |
39 <% end %> | |
40 <% #TODO: allow editing versions when multiple projects %> | |
41 <% if @project %> | |
38 <p> | 42 <p> |
39 <label><%= l(:field_fixed_version) %></label> | 43 <label><%= l(:field_fixed_version) %></label> |
40 <%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') + | 44 <%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') + |
41 content_tag('option', l(:label_none), :value => 'none') + | 45 content_tag('option', l(:label_none), :value => 'none') + |
42 version_options_for_select(@project.shared_versions.open)) %> | 46 version_options_for_select(@project.shared_versions.open)) %> |
43 </p> | 47 </p> |
48 <% end %> | |
44 | 49 |
45 <% @custom_fields.each do |custom_field| %> | 50 <% @custom_fields.each do |custom_field| %> |
46 <p><label><%= h(custom_field.name) %></label> <%= custom_field_tag_for_bulk_edit('issue', custom_field) %></p> | 51 <p><label><%= h(custom_field.name) %></label> <%= custom_field_tag_for_bulk_edit('issue', custom_field) %></p> |
47 <% end %> | 52 <% end %> |
48 | 53 |