From 7448e0dbc41a53f643ac3c8ebd486d9aa02f593b Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 1 Mar 2012 20:22:08 +0000 Subject: Fixed that the bulk edit/copy form does not propose versions and categories for the target project (#10350). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9046 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/bulk_edit.html.erb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'app/views') diff --git a/app/views/issues/bulk_edit.html.erb b/app/views/issues/bulk_edit.html.erb index 13200d726..0263ab916 100644 --- a/app/views/issues/bulk_edit.html.erb +++ b/app/views/issues/bulk_edit.html.erb @@ -43,23 +43,18 @@ content_tag('option', l(:label_nobody), :value => 'none') + principals_options_for_select(@assignables)) %>

-<% if @project %>

<%= select_tag('issue[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)) %> + options_from_collection_for_select(@categories, :id, :name)) %>

-<% end %> -<% #TODO: allow editing versions when multiple projects %> -<% if @project %>

<%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') + content_tag('option', l(:label_none), :value => 'none') + - version_options_for_select(@project.shared_versions.open.sort)) %> + version_options_for_select(@versions.sort)) %>

-<% end %> <% @custom_fields.each do |custom_field| %>

<%= custom_field_tag_for_bulk_edit('issue', custom_field, @projects) %>

-- cgit v1.2.3