Make labels clickable in Adminstration/Settings (#11496).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10127 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7a4c6d2a19
commit
15341bd844
|
@ -79,7 +79,7 @@ module SettingsHelper
|
||||||
|
|
||||||
def setting_label(setting, options={})
|
def setting_label(setting, options={})
|
||||||
label = options.delete(:label)
|
label = options.delete(:label)
|
||||||
label != false ? content_tag("label", l(label || "setting_#{setting}")).html_safe : ''
|
label != false ? label_tag("settings_#{setting}", l(label || "setting_#{setting}")).html_safe : ''
|
||||||
end
|
end
|
||||||
|
|
||||||
# Renders a notification field for a Redmine::Notifiable option
|
# Renders a notification field for a Redmine::Notifiable option
|
||||||
|
|
Loading…
Reference in New Issue