##// END OF EJS Templates
scm: git: reduce saving heads times in fetching revisions (#8857, #9472)...
scm: git: reduce saving heads times in fetching revisions (#8857, #9472) git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9143 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8926:7448e0dbc41a
r9023:bcba955456c7
Show More
bulk_edit.html.erb
120 lines | 5.3 KiB | text/plain | TextLexer
/ app / views / issues / bulk_edit.html.erb
Jean-Philippe Lang
Copy issues via bulk update action....
r8418 <h2><%= @copy ? l(:button_copy) : l(:label_bulk_edit_selected_issues) %></h2>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806
Toshi MARUYAMA
Rails3: view: html_safe for issues/bulk_edit.html.erb...
r8327 <ul><%= @issues.collect {|i|
content_tag('li',
link_to(h("#{i.tracker} ##{i.id}"),
{ :action => 'show', :id => i }
) + h(": #{i.subject}"))
}.join("\n").html_safe %></ul>
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
Jean-Philippe Lang
Allows project to be changed from the bulk edit form....
r8416 <% form_tag({:action => 'bulk_update'}, :id => 'bulk_edit_form') do %>
Toshi MARUYAMA
Rails3: view: html_safe for issues/bulk_edit.html.erb...
r8327 <%= @issues.collect {|i| hidden_field_tag('ids[]', i.id)}.join("\n").html_safe %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <div class="box tabular">
Jean-Philippe Lang
Reduces spacing on the bulk edit form....
r3365 <fieldset class="attributes">
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 <legend><%= l(:label_change_properties) %></legend>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165
<div class="splitcontentleft">
Jean-Philippe Lang
Allows project to be changed from the bulk edit form....
r8416 <% if @allowed_projects.present? %>
<p>
<label for="issue_project_id"><%= l(:field_project) %></label>
Jean-Philippe Lang
Use content_tag for "no change" options....
r8869 <%= select_tag('issue[project_id]', content_tag('option', l(:label_no_change_option), :value => '') + project_tree_options_for_select(@allowed_projects, :selected => @target_project)) %>
Jean-Philippe Lang
Allows project to be changed from the bulk edit form....
r8416 </p>
<%= observe_field :issue_project_id, :url => {:action => 'bulk_edit'},
:update => 'content',
:with => "Form.serialize('bulk_edit_form')" %>
<% end %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for="issue_tracker_id"><%= l(:field_tracker) %></label>
Jean-Philippe Lang
Use content_tag for "no change" options....
r8869 <%= select_tag('issue[tracker_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@trackers, :id, :name)) %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </p>
Jean-Philippe Lang
Merged IssuesController change_status and add_note actions....
r1030 <% if @available_statuses.any? %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_status_id'><%= l(:field_status) %></label>
Jean-Philippe Lang
Use content_tag for "no change" options....
r8869 <%= select_tag('issue[status_id]',content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(@available_statuses, :id, :name)) %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </p>
Jean-Philippe Lang
Status can now be updated when bulk editing issues....
r820 <% end %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_priority_id'><%= l(:field_priority) %></label>
Jean-Philippe Lang
Use content_tag for "no change" options....
r8869 <%= select_tag('issue[priority_id]', content_tag('option', l(:label_no_change_option), :value => '') + options_from_collection_for_select(IssuePriority.active, :id, :name)) %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </p>
<p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_assigned_to_id'><%= l(:field_assigned_to) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= select_tag('issue[assigned_to_id]', content_tag('option', l(:label_no_change_option), :value => '') +
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 content_tag('option', l(:label_nobody), :value => 'none') +
Jean-Philippe Lang
Adds a optgroup for groups in users/groups select tags....
r6187 principals_options_for_select(@assignables)) %>
Jean-Philippe Lang
Adds tracker update to context menu and bulk edit form (#2405)....
r2995 </p>
<p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_category_id'><%= l(:field_category) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= select_tag('issue[category_id]', content_tag('option', l(:label_no_change_option), :value => '') +
Jean-Philippe Lang
Fixed: when bulk editing, setting "Assigned to" to "nobody" causes an sql error with Postgresql (#935)....
r1279 content_tag('option', l(:label_none), :value => 'none') +
Jean-Philippe Lang
Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350)....
r8926 options_from_collection_for_select(@categories, :id, :name)) %>
Jean-Philippe Lang
Status can now be updated when bulk editing issues....
r820 </p>
<p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_fixed_version_id'><%= l(:field_fixed_version) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') +
Jean-Philippe Lang
Fixed: when bulk editing, setting "Assigned to" to "nobody" causes an sql error with Postgresql (#935)....
r1279 content_tag('option', l(:label_none), :value => 'none') +
Jean-Philippe Lang
Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350)....
r8926 version_options_for_select(@versions.sort)) %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </p>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <% @custom_fields.each do |custom_field| %>
Jean-Philippe Lang
Custom fields display on bulk edit form....
r8027 <p><label><%= h(custom_field.name) %></label> <%= custom_field_tag_for_bulk_edit('issue', custom_field, @projects) %></p>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <% end %>
<%= call_hook(:view_issues_bulk_edit_details_bottom, { :issues => @issues }) %>
</div>
<div class="splitcontentright">
Jean-Philippe Lang
Allows bulk change issue private flag (#10042)....
r8576 <% if @safe_attributes.include?('is_private') %>
<p>
<label for='issue_is_private'><%= l(:field_is_private) %></label>
<%= select_tag('issue[is_private]', content_tag('option', l(:label_no_change_option), :value => '') +
content_tag('option', l(:general_text_Yes), :value => '1') +
content_tag('option', l(:general_text_No), :value => '0')) %>
</p>
<% end %>
Jean-Philippe Lang
Allow bulk editing of parent issue (#5831)....
r5104 <% if @project && User.current.allowed_to?(:manage_subtasks, @project) %>
<p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_parent_issue_id'><%= l(:field_parent_issue) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= text_field_tag 'issue[parent_issue_id]', '', :size => 10 %>
Jean-Philippe Lang
Allow bulk editing of parent issue (#5831)....
r5104 </p>
<div id="parent_issue_candidates" class="autocomplete"></div>
<%= javascript_tag "observeParentIssueField('#{auto_complete_issues_path(:project_id => @project) }')" %>
<% end %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_start_date'><%= l(:field_start_date) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= text_field_tag 'issue[start_date]', '', :size => 10 %><%= calendar_for('issue_start_date') %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </p>
<p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_due_date'><%= l(:field_due_date) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= text_field_tag 'issue[due_date]', '', :size => 10 %><%= calendar_for('issue_due_date') %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </p>
Eric Davis
Adds a Setting to control how an Issue's done_ratio is calculated:...
r3037 <% if Issue.use_field_for_done_ratio? %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 <p>
Toshi MARUYAMA
[#9489] linked labels to their elements...
r7559 <label for='issue_done_ratio'><%= l(:field_done_ratio) %></label>
Toshi MARUYAMA
replace tabs to spaces at app/views/issues/bulk_edit.html.erb...
r7226 <%= select_tag 'issue[done_ratio]', options_for_select([[l(:label_no_change_option), '']] + (0..10).to_a.collect {|r| ["#{r*10} %", r*10] }) %>
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </p>
Jean-Philippe Lang
Ability to bulk edit custom fields of type 'list' (#461)....
r2314 <% end %>
Jean-Philippe Lang
Bulk edit view cleanup....
r3165 </div>
Jean-Philippe Lang
Ability to bulk edit custom fields of type 'list' (#461)....
r2314
Jean-Philippe Lang
Added 'Bulk edit' functionality....
r806 </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
Typos/fixes in views (#2654)....
r2356 </fieldset>
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
Jean-Philippe Lang
Allows project to be changed from the bulk edit form....
r8416 <p>
Jean-Philippe Lang
Copy issues via bulk update action....
r8418 <% if @copy %>
<%= hidden_field_tag 'copy', '1' %>
<%= submit_tag l(:button_copy) %>
<%= submit_tag l(:button_copy_and_follow), :name => 'follow' %>
<% elsif @target_project %>
Jean-Philippe Lang
Allows project to be changed from the bulk edit form....
r8416 <%= submit_tag l(:button_move) %>
<%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
<% else %>
<%= submit_tag l(:button_submit) %>
<% end %>
</p>
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 <% end %>