Added 'Bulk edit' functionality.

This can be done by clicking on the edit link (little pen icon) at the upper-left corner of the issue list.
Most properties can be set (priority, assignee, category, fixed version, start and due dates, done ratio) and a note can be entered.
Only issues of the current project can be selected for bulk edit (subproject issues can't).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@817 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-10-09 19:07:19 +00:00
1 parent df631e8c06
commit 2c4647f8c6
24 files changed
+167 -8

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ class Issue < ActiveRecord::Base
# Users the issue can be assigned to
def assignable_users
project.members.select {|m| m.role.assignable?}.collect {|m| m.user}
project.assignable_users
end
def spent_hours
+5
View File
@@ -113,6 +113,11 @@ class Project < ActiveRecord::Base
children.select {|child| child.active?}
end
# Users issues can be assigned to
def assignable_users
members.select {|m| m.role.assignable?}.collect {|m| m.user}
end
# Returns an array of all custom fields enabled for project issues
# (explictly associated custom fields and custom fields enabled for all projects)
def custom_fields_for_issues(tracker)