Sort module names
This commit is contained in:
parent
2996af4dea
commit
2fc53b1df7
@ -11,7 +11,7 @@ hr
|
|||||||
p
|
p
|
||||||
= content_tag(:label, l(:label_disabled_modules))
|
= content_tag(:label, l(:label_disabled_modules))
|
||||||
= hidden_field_tag('settings[disabled_modules][]', '')
|
= hidden_field_tag('settings[disabled_modules][]', '')
|
||||||
- Redmine::AccessControl.available_project_modules_all.each do |m|
|
- Redmine::AccessControl.available_project_modules_all.sort.each do |m|
|
||||||
label.block
|
label.block
|
||||||
- value = @settings[:disabled_modules].present? ? @settings[:disabled_modules].include?(m.to_s) : false
|
- value = @settings[:disabled_modules].present? ? @settings[:disabled_modules].include?(m.to_s) : false
|
||||||
= check_box_tag('settings[disabled_modules][]', m, value, id: nil)
|
= check_box_tag('settings[disabled_modules][]', m, value, id: nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user