diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:22:31 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-10-29 01:22:31 +0000 |
commit | 26313afd5ab59a05274ed2a286ea41f1c17a2c6f (patch) | |
tree | 8572e670dd8c641d538a354d48a98a7a3d999f6a /app | |
parent | b8637aaf76d277374719f32d016107f232d73b3a (diff) | |
download | redmine-26313afd5ab59a05274ed2a286ea41f1c17a2c6f.tar.gz redmine-26313afd5ab59a05274ed2a286ea41f1c17a2c6f.zip |
[#9489] added invisible label for mail notification, linked label where possible
Contributed by Romano Licker.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7692 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/users/_mail_notifications.html.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/users/_mail_notifications.html.erb b/app/views/users/_mail_notifications.html.erb index 9c7368820..92bfa0650 100644 --- a/app/views/users/_mail_notifications.html.erb +++ b/app/views/users/_mail_notifications.html.erb @@ -1,4 +1,5 @@ <p> +<%= label_tag "user_mail_notification", l(:description_user_mail_notification), :class => "hidden-for-sighted" %> <%= select_tag 'user[mail_notification]', options_for_select(user_mail_notification_options(@user), @user.mail_notification), :onchange => 'if (this.value == "selected") {Element.show("notified-projects")} else {Element.hide("notified-projects")}' %> </p> @@ -8,5 +9,5 @@ <% end %></p> <p><em><%= l(:text_user_mail_option) %></em></p> <% end %> -<p><label><%= l(:label_user_mail_no_self_notified) %></label><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %></p> +<p><label><%= l(:label_user_mail_no_self_notified) %><%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %></label></p> |