[#667] added invisible label for mail notification,

linked label where possible
This commit is contained in:
Romano Licker 2011-10-20 17:53:36 +02:00 committed by Holger Just
parent 26a7ea468a
commit 3c04b30834
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

@ -988,6 +988,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

@ -970,6 +970,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: Mailnotification settings
description_available_columns: Available Columns
description_selected_columns: Selected Spalten
description_ticket_reassign: Assign issues to