Feature #3972 » localizable-Rails-4.2.patch
| plugins/localizable/app/views/settings/_localizable.html.erb Tue Apr 07 11:27:24 2015 +0200 → plugins/localizable/app/views/settings/_localizable.html.erb Tue Apr 07 11:27:32 2015 +0200 | ||
|---|---|---|
|
</p>
|
||
|
</fieldset>
|
||
|
<%- elements = [{:name => "role", :objects => Role.find(:all), :label => :label_role_plural},
|
||
|
{:name => "tracker", :objects => Tracker.find(:all), :label => :label_tracker_plural},
|
||
|
{:name => "issue_status", :objects => IssueStatus.find(:all), :label => :label_issue_status_plural},
|
||
|
{:name => "custom_field", :objects => CustomField.find(:all), :label => :label_custom_field_plural},
|
||
|
{:name => "enumeration", :objects => Enumeration.find(:all, :conditions => "project_id IS NULL").sort{|a, b| a.type.downcase <=> b.type.downcase}, :label => :label_enumerations}] -%>
|
||
|
<%- elements = [{:name => "role", :objects => Role.all, :label => :label_role_plural},
|
||
|
{:name => "tracker", :objects => Tracker.all, :label => :label_tracker_plural},
|
||
|
{:name => "issue_status", :objects => IssueStatus.all, :label => :label_issue_status_plural},
|
||
|
{:name => "custom_field", :objects => CustomField.all, :label => :label_custom_field_plural},
|
||
|
{:name => "enumeration", :objects => Enumeration.where("project_id IS NULL").sort{|a, b| a.type.downcase <=> b.type.downcase}, :label => :label_enumerations}] -%>
|
||
|
<%- type_labels = {"Issue" => :label_issue_plural,
|
||
|
"TimeEntry" => :label_time_entry_plural,
|
||
|
"Project" => :label_project_plural,
|
||
- « Previous
- 1
- 2
- Next »