]> source.dussan.org Git - redmine.git/commitdiff
[#9489] added invisible label for mail notification, linked label where possible
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:22:31 +0000 (01:22 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 29 Oct 2011 01:22:31 +0000 (01:22 +0000)
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
config/locales/de.yml
config/locales/en.yml

index 9c7368820d87d9e01659be4b5d593be298deb874..92bfa0650c05ee1cd26fc0a2f3ee08b22f44ab3d 100644 (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>
 
index 78c0177b0e573274188f689b864a7c0e641d3fa8..84f8b9affe4042340936bfc4beddf65e7cfaa190 100644 (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
index c2351e5394504f18c5d31ea360dbb2cb17685b83..120efcee5585922f149f828d50f6e0288167ede4 100644 (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