Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
OHR Support
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
97
Issues
97
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
OHR Support
Commits
3c04b308
Commit
3c04b308
authored
Oct 20, 2011
by
Romano Licker
Committed by
Holger Just
Oct 28, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[#667] added invisible label for mail notification,
linked label where possible
parent
26a7ea46
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
_mail_notifications.html.erb
app/views/users/_mail_notifications.html.erb
+2
-1
de.yml
config/locales/de.yml
+1
-0
en.yml
config/locales/en.yml
+1
-0
No files found.
app/views/users/_mail_notifications.html.erb
View file @
3c04b308
<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>
config/locales/de.yml
View file @
3c04b308
...
...
@@ -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
...
...
config/locales/en.yml
View file @
3c04b308
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment