##// END OF EJS Templates
Set enumeration positions and default priority (Normal) in default configuration data....
Jean-Philippe Lang -
r805:df631e8c06d7
parent child
Show More
@@ -148,17 +148,17 begin
148 148 }
149 149
150 150 # enumerations
151 Enumeration.create(:opt => "DCAT", :name => l(:default_doc_category_user))
152 Enumeration.create(:opt => "DCAT", :name => l(:default_doc_category_tech))
151 Enumeration.create(:opt => "DCAT", :name => l(:default_doc_category_user), :position => 1)
152 Enumeration.create(:opt => "DCAT", :name => l(:default_doc_category_tech), :position => 2)
153 153
154 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_low))
155 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_normal))
156 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_high))
157 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_urgent))
158 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_immediate))
154 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_low), :position => 1)
155 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_normal), :position => 2, :is_default => true)
156 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_high), :position => 3)
157 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_urgent), :position => 4)
158 Enumeration.create(:opt => "IPRI", :name => l(:default_priority_immediate), :position => 5)
159 159
160 Enumeration.create(:opt => "ACTI", :name => l(:default_activity_design))
161 Enumeration.create(:opt => "ACTI", :name => l(:default_activity_development))
160 Enumeration.create(:opt => "ACTI", :name => l(:default_activity_design), :position => 1)
161 Enumeration.create(:opt => "ACTI", :name => l(:default_activity_development), :position => 2)
162 162
163 163 rescue => error
164 164 puts "Error: " + error
General Comments 0
You need to be logged in to leave comments. Login now