47 |
47 |
</p>
|
48 |
48 |
</fieldset>
|
49 |
49 |
|
50 |
|
<%- elements = [{:name => "role", :objects => Role.find(:all), :label => :label_role_plural},
|
51 |
|
{:name => "tracker", :objects => Tracker.find(:all), :label => :label_tracker_plural},
|
52 |
|
{:name => "issue_status", :objects => IssueStatus.find(:all), :label => :label_issue_status_plural},
|
53 |
|
{:name => "custom_field", :objects => CustomField.find(:all), :label => :label_custom_field_plural},
|
54 |
|
{:name => "enumeration", :objects => Enumeration.find(:all, :conditions => "project_id IS NULL").sort{|a, b| a.type.downcase <=> b.type.downcase}, :label => :label_enumerations}] -%>
|
|
50 |
<%- elements = [{:name => "role", :objects => Role.all, :label => :label_role_plural},
|
|
51 |
{:name => "tracker", :objects => Tracker.all, :label => :label_tracker_plural},
|
|
52 |
{:name => "issue_status", :objects => IssueStatus.all, :label => :label_issue_status_plural},
|
|
53 |
{:name => "custom_field", :objects => CustomField.all, :label => :label_custom_field_plural},
|
|
54 |
{:name => "enumeration", :objects => Enumeration.where("project_id IS NULL").sort{|a, b| a.type.downcase <=> b.type.downcase}, :label => :label_enumerations}] -%>
|
55 |
55 |
<%- type_labels = {"Issue" => :label_issue_plural,
|
56 |
56 |
"TimeEntry" => :label_time_entry_plural,
|
57 |
57 |
"Project" => :label_project_plural,
|