[#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
This commit is contained in:
Toshi MARUYAMA 2011-10-29 01:22:31 +00:00
parent b8637aaf76
commit 26313afd5a
3 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -1006,6 +1006,7 @@ de:
description_message_content: Nachrichteninhalt
description_query_sort_criteria_attribute: Sortierattribut
description_query_sort_criteria_direction: Sortierrichtung
description_user_mail_notification: Mailbenachrichtigungseinstellung
description_available_columns: Verfügbare Spalten
description_selected_columns: Ausgewählte Spalten
description_ticket_reassign: Ticketzuordnung

View File

@ -984,6 +984,7 @@ en:
description_message_content: Message content
description_query_sort_criteria_attribute: Sort attribute
description_query_sort_criteria_direction: Sort direction
description_user_mail_notification: Mail notification settings
description_available_columns: Available Columns
description_selected_columns: Selected Spalten
description_ticket_reassign: Assign issues to