##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1300:68fe7856c921
r1770:8f3a04ce6906
Show More
bulk_edit.rhtml
49 lines | 2.5 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <h2><%= l(:label_bulk_edit_selected_issues) %></h2>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <ul><%= @issues.collect {|i| content_tag('li', link_to(h("#{i.tracker} ##{i.id}"), { :action => 'show', :id => i }) + h(": #{i.subject}")) }.join("\n") %></ul>
<% form_tag() do %>
<%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join %>
<div class="box">
<fieldset>
<legend><%= l(:label_change_properties) %></legend>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <p>
Jean-Philippe Lang
Merged IssuesController change_status and add_note actions....
r1030 <% if @available_statuses.any? %>
Jean-Philippe Lang
Status can now be updated when bulk editing issues....
r820 <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 %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <label><%= l(:field_priority) %>:
Jean-Philippe Lang
Bulk editing:...
r814 <%= select_tag('priority_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(Enumeration.get_values('IPRI'), :id, :name)) %></label>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <label><%= l(:field_category) %>:
Jean-Philippe Lang
Fixed: when bulk editing, setting "Assigned to" to "nobody" causes an sql error with Postgresql (#935)....
r1279 <%= select_tag('category_id', content_tag('option', l(:label_no_change_option), :value => '') +
content_tag('option', l(:label_none), :value => 'none') +
options_from_collection_for_select(@project.issue_categories, :id, :name)) %></label>
Jean-Philippe Lang
Status can now be updated when bulk editing issues....
r820 </p>
<p>
<label><%= l(:field_assigned_to) %>:
Jean-Philippe Lang
Fixed: error when bulk editing with Postgresql...
r853 <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option), :value => '') +
Jean-Philippe Lang
Added the ability to unassign issues with bulk edit....
r837 content_tag('option', l(:label_nobody), :value => 'none') +
options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <label><%= l(:field_fixed_version) %>:
Jean-Philippe Lang
Fixed: when bulk editing, setting "Assigned to" to "nobody" causes an sql error with Postgresql (#935)....
r1279 <%= select_tag('fixed_version_id', content_tag('option', l(:label_no_change_option), :value => '') +
content_tag('option', l(:label_none), :value => 'none') +
options_from_collection_for_select(@project.versions, :id, :name)) %></label>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </p>
<p>
<label><%= l(:field_start_date) %>:
<%= text_field_tag 'start_date', '', :size => 10 %><%= calendar_for('start_date') %></label>
<label><%= l(:field_due_date) %>:
<%= text_field_tag 'due_date', '', :size => 10 %><%= calendar_for('due_date') %></label>
<label><%= l(:field_done_ratio) %>:
Jean-Philippe Lang
Bulk editing:...
r814 <%= select_tag 'done_ratio', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %></label>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </p>
</fieldset>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116
<fieldset><legend><%= l(:field_notes) %></legend>
<%= text_area_tag 'notes', @notes, :cols => 60, :rows => 10, :class => 'wiki-edit' %>
<%= wikitoolbar_for 'notes' %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </div>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116
<p><%= submit_tag l(:button_submit) %>
<% end %>