summaryrefslogtreecommitdiffstats
path: root/lib/redmine/default_data
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-10-20 05:06:14 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-10-20 05:06:14 +0000
commita41ba2aed7cb9bdea32413691a0c318613fa54aa (patch)
tree5a0bda3deeec0809d69f58f74970556d2b71f06a /lib/redmine/default_data
parentb887cef7af15a4f108d6e29b0fd869ab9e98234f (diff)
downloadredmine-a41ba2aed7cb9bdea32413691a0c318613fa54aa.tar.gz
redmine-a41ba2aed7cb9bdea32413691a0c318613fa54aa.zip
Renamed the default "Assigned" status to "In Progress". #3605
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2939 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/default_data')
-rw-r--r--lib/redmine/default_data/loader.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/redmine/default_data/loader.rb b/lib/redmine/default_data/loader.rb
index 3f1103ae3..435215b1d 100644
--- a/lib/redmine/default_data/loader.rb
+++ b/lib/redmine/default_data/loader.rb
@@ -123,7 +123,7 @@ module Redmine
# Issue statuses
new = IssueStatus.create!(:name => l(:default_issue_status_new), :is_closed => false, :is_default => true, :position => 1)
- assigned = IssueStatus.create!(:name => l(:default_issue_status_assigned), :is_closed => false, :is_default => false, :position => 2)
+ in_progress = IssueStatus.create!(:name => l(:default_issue_status_in_progress), :is_closed => false, :is_default => false, :position => 2)
resolved = IssueStatus.create!(:name => l(:default_issue_status_resolved), :is_closed => false, :is_default => false, :position => 3)
feedback = IssueStatus.create!(:name => l(:default_issue_status_feedback), :is_closed => false, :is_default => false, :position => 4)
closed = IssueStatus.create!(:name => l(:default_issue_status_closed), :is_closed => true, :is_default => false, :position => 5)
@@ -139,15 +139,15 @@ module Redmine
}
Tracker.find(:all).each { |t|
- [new, assigned, resolved, feedback].each { |os|
- [assigned, resolved, feedback, closed].each { |ns|
+ [new, in_progress, resolved, feedback].each { |os|
+ [in_progress, resolved, feedback, closed].each { |ns|
Workflow.create!(:tracker_id => t.id, :role_id => developper.id, :old_status_id => os.id, :new_status_id => ns.id) unless os == ns
}
}
}
Tracker.find(:all).each { |t|
- [new, assigned, resolved, feedback].each { |os|
+ [new, in_progress, resolved, feedback].each { |os|
[closed].each { |ns|
Workflow.create!(:tracker_id => t.id, :role_id => reporter.id, :old_status_id => os.id, :new_status_id => ns.id) unless os == ns
}