##// END OF EJS Templates
Added the ability to unassign issues with bulk edit....
Jean-Philippe Lang -
r837:3c42abe07e12
parent child
Show More
@@ -350,7 +350,7 class ProjectsController < ApplicationController
350 350 issues.each do |issue|
351 351 journal = issue.init_journal(User.current, params[:notes])
352 352 issue.priority = priority if priority
353 issue.assigned_to = assigned_to if assigned_to
353 issue.assigned_to = assigned_to if assigned_to || params[:assigned_to_id] == 'none'
354 354 issue.category = category if category
355 355 issue.fixed_version = fixed_version if fixed_version
356 356 issue.start_date = params[:start_date] unless params[:start_date].blank?
@@ -13,7 +13,9
13 13 </p>
14 14 <p>
15 15 <label><%= l(:field_assigned_to) %>:
16 <%= select_tag('assigned_to_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
16 <%= select_tag('assigned_to_id', content_tag('option', l(:label_no_change_option)) +
17 content_tag('option', l(:label_nobody), :value => 'none') +
18 options_from_collection_for_select(@project.assignable_users, :id, :name)) %></label>
17 19 <label><%= l(:field_fixed_version) %>:
18 20 <%= select_tag('fixed_version_id', "<option value=\"\">#{l(:label_no_change_option)}</option>" + options_from_collection_for_select(@project.versions, :id, :name)) %></label>
19 21 </p>
@@ -525,3 +525,4 notice_failed_to_save_issues: "Неуспешен запис на %d задач
525 525 label_theme: Тема
526 526 label_default: По подразбиране
527 527 label_search_titles_only: Само в заглавията
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -299,6 +299,7 label_current_status: Current status
299 299 label_new_statuses_allowed: New statuses allowed
300 300 label_all: all
301 301 label_none: none
302 label_nobody: nobody
302 303 label_next: Next
303 304 label_previous: Previous
304 305 label_used_by: Used by
@@ -528,3 +528,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
528 528 label_theme: Theme
529 529 label_default: Default
530 530 label_search_titles_only: Search titles only
531 label_nobody: nobody
@@ -299,6 +299,7 label_current_status: Statut actuel
299 299 label_new_statuses_allowed: Nouveaux statuts autorisés
300 300 label_all: tous
301 301 label_none: aucun
302 label_nobody: personne
302 303 label_next: Suivant
303 304 label_previous: Précédent
304 305 label_used_by: Utilisé par
@@ -525,3 +525,4 enumeration_issue_priorities: עדיפות נושאים
525 525 enumeration_doc_categories: קטגוריות מסמכים
526 526 enumeration_activities: פעילויות (מעקב אחר זמנים)
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -526,3 +526,4 notice_failed_to_save_issues: "%d件の問題が保存できませんでした(%
526 526 label_theme: テーマ
527 527 label_default: 既定
528 528 label_search_titles_only: Search titles only
529 label_nobody: nobody
@@ -526,3 +526,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
526 526 label_theme: Theme
527 527 label_default: Default
528 528 label_search_titles_only: Search titles only
529 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Błąd podczas zapisu zagadnień %d z %d zaznaczo
525 525 label_theme: Temat
526 526 label_default: Domyślne
527 527 label_search_titles_only: Przeszukuj tylko tytuły
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -525,3 +525,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
525 525 label_theme: Theme
526 526 label_default: Default
527 527 label_search_titles_only: Search titles only
528 label_nobody: nobody
@@ -526,3 +526,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
526 526 label_theme: Theme
527 527 label_default: Default
528 528 label_search_titles_only: Search titles only
529 label_nobody: nobody
@@ -528,3 +528,4 notice_failed_to_save_issues: "Failed to save %d issue(s) on %d selected: %s."
528 528 label_theme: Theme
529 529 label_default: Default
530 530 label_search_titles_only: Search titles only
531 label_nobody: nobody
General Comments 0
You need to be logged in to leave comments. Login now