From ca3c99b1b61151dd34a1cdfc748fea57842f6ad4 Mon Sep 17 00:00:00 2001 From: Dan Langille Date: Sat, 21 Nov 2015 11:19:32 +0000 Subject: Bug 1223554: Add
in the email preferences page to customize sections. --- template/en/default/account/prefs/email.html.tmpl | 24 +++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) (limited to 'template') diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index ab25ff8bb..444447a9a 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -29,14 +29,14 @@ [% END %] [% IF user.authorizer.can_change_email && Param('allowemailchange') %] -

+

If you want to change your e-mail address [% user.email FILTER html %] to which [% terms.Bugzilla %] sends notifications, click the "Account Information" tab above.

[% END %] -

+

If you don't like getting a notification for "trivial" changes to [% terms.bugs %], you can use the settings below to filter some or all notifications. @@ -68,6 +68,7 @@ function SetCheckboxes(setting) {


+

Global options

[% prefname = "email-$constants.REL_ANY-$constants.EVT_FLAG_REQUESTED" %] @@ -88,7 +89,9 @@ function SetCheckboxes(setting) { [% END %]
+
+

Field/recipient specific options

[% events = [ @@ -137,7 +140,7 @@ function SetCheckboxes(setting) { ] %] [% IF Param('useqacontact') %] - [% relationships.push({ id = constants.REL_QA, + [% relationships.push({ id = constants.REL_QA, description = "QA Contact" }) %] [% END %] @@ -163,7 +166,7 @@ function SetCheckboxes(setting) { [% END %] - [% FOREACH event = events %] + [% FOREACH event = events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] @@ -190,7 +193,7 @@ function SetCheckboxes(setting) { but not when (overrides above): - [% FOREACH event = neg_events %] + [% FOREACH event = neg_events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] @@ -206,11 +209,13 @@ function SetCheckboxes(setting) {
+
+

User Watching

-If you watch a user, it is as if you are standing in their shoes for the +If you watch a user, it is as if you are standing in their shoes for the purposes of getting email. Email is sent or not according to your preferences for their relationship to the [% terms.bug %] (e.g. Assignee). @@ -254,13 +259,15 @@ preferences for their relationship to the [% terms.bug %]


+
+

Ignore [% terms.Bugs %]

You can specify a list of [% terms.bugs %] from which you never want to get any email notification of any kind by adding their ID(s) as a comma-separated - list. Removing [% terms.abug %] by selecting it from the current ignored list + list. Removing [% terms.abug %] by selecting it from the current ignored list will re-enable email notifications for the [% terms.bug %].

[% IF user.bugs_ignored.size %] @@ -291,6 +298,7 @@ preferences for their relationship to the [% terms.bug %]

Add [% terms.bugs %]:
-

+
-- cgit v1.2.3-24-g4f1b