From 26313afd5ab59a05274ed2a286ea41f1c17a2c6f Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 29 Oct 2011 01:22:31 +0000 Subject: [#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 --- app/views/users/_mail_notifications.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views/users') 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 @@

+<%= 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")}' %>

@@ -8,5 +9,5 @@ <% end %>

<%= l(:text_user_mail_option) %>

<% end %> -

<%= check_box_tag 'no_self_notified', 1, @user.pref[:no_self_notified] %>

+

-- cgit v1.2.3