Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ca3c99b1
Commit
ca3c99b1
authored
Nov 21, 2015
by
Dan Langille
Committed by
Gervase Markham
Nov 21, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1223554: Add <div></div> in the email preferences page to customize sections.
parent
2363a2cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
email.html.tmpl
template/en/default/account/prefs/email.html.tmpl
+16
-8
No files found.
template/en/default/account/prefs/email.html.tmpl
View file @
ca3c99b1
...
@@ -29,14 +29,14 @@
...
@@ -29,14 +29,14 @@
[% END %]
[% END %]
[% IF user.authorizer.can_change_email && Param('allowemailchange') %]
[% IF user.authorizer.can_change_email && Param('allowemailchange') %]
<p>
<p
id="change_email"
>
If you want to change your e-mail address
If you want to change your e-mail address
<b>[% user.email FILTER html %]</b> to which [% terms.Bugzilla %] sends
<b>[% user.email FILTER html %]</b> to which [% terms.Bugzilla %] sends
notifications, click the "Account Information" tab above.
notifications, click the "Account Information" tab above.
</p>
</p>
[% END %]
[% END %]
<p>
<p
id="trivial_email"
>
If you don't like getting a notification for "trivial"
If you don't like getting a notification for "trivial"
changes to [% terms.bugs %], you can use the settings below to
changes to [% terms.bugs %], you can use the settings below to
filter some or all notifications.
filter some or all notifications.
...
@@ -68,6 +68,7 @@ function SetCheckboxes(setting) {
...
@@ -68,6 +68,7 @@ function SetCheckboxes(setting) {
<hr>
<hr>
<div id="global_options">
<h3>Global options</h3>
<h3>Global options</h3>
[% prefname = "email-$constants.REL_ANY-$constants.EVT_FLAG_REQUESTED" %]
[% prefname = "email-$constants.REL_ANY-$constants.EVT_FLAG_REQUESTED" %]
...
@@ -88,7 +89,9 @@ function SetCheckboxes(setting) {
...
@@ -88,7 +89,9 @@ function SetCheckboxes(setting) {
[% END %]
[% END %]
<hr>
<hr>
</div>
<div id="field_recipient_options">
<h3>Field/recipient specific options</h3>
<h3>Field/recipient specific options</h3>
[% events = [
[% events = [
...
@@ -137,7 +140,7 @@ function SetCheckboxes(setting) {
...
@@ -137,7 +140,7 @@ function SetCheckboxes(setting) {
] %]
] %]
[% IF Param('useqacontact') %]
[% IF Param('useqacontact') %]
[% relationships.push({ id = constants.REL_QA,
[% relationships.push({ id = constants.REL_QA,
description = "QA Contact" }) %]
description = "QA Contact" }) %]
[% END %]
[% END %]
...
@@ -163,7 +166,7 @@ function SetCheckboxes(setting) {
...
@@ -163,7 +166,7 @@ function SetCheckboxes(setting) {
[% END %]
[% END %]
</tr>
</tr>
[% FOREACH event = events %]
[% FOREACH event = events %]
[% count = loop.count() %]
[% count = loop.count() %]
<tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
<tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
[% FOREACH relationship = relationships %]
[% FOREACH relationship = relationships %]
...
@@ -190,7 +193,7 @@ function SetCheckboxes(setting) {
...
@@ -190,7 +193,7 @@ function SetCheckboxes(setting) {
<th>but not when (overrides above):</th>
<th>but not when (overrides above):</th>
</tr>
</tr>
[% FOREACH event = neg_events %]
[% FOREACH event = neg_events %]
[% count = loop.count() %]
[% count = loop.count() %]
<tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
<tr class="bz_row_[% count % 2 == 1 ? "odd" : "even" %]">
[% FOREACH relationship = relationships %]
[% FOREACH relationship = relationships %]
...
@@ -206,11 +209,13 @@ function SetCheckboxes(setting) {
...
@@ -206,11 +209,13 @@ function SetCheckboxes(setting) {
</table>
</table>
<hr>
<hr>
</div>
<div id="user_watching">
<h3>User Watching</h3>
<h3>User Watching</h3>
<p>
<p>
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 <em>your</em>
purposes of getting email. Email is sent or not according to <em>your</em>
preferences for <em>their</em> relationship to the [% terms.bug %]
preferences for <em>their</em> relationship to the [% terms.bug %]
(e.g. Assignee).
(e.g. Assignee).
...
@@ -254,13 +259,15 @@ preferences for <em>their</em> relationship to the [% terms.bug %]
...
@@ -254,13 +259,15 @@ preferences for <em>their</em> relationship to the [% terms.bug %]
</p>
</p>
<hr>
<hr>
</div>
<div id="ignore_bugs">
<h3>Ignore [% terms.Bugs %]</h3>
<h3>Ignore [% terms.Bugs %]</h3>
<p>
<p>
You can specify a list of [% terms.bugs %] from which you never want to get
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
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 %].
will re-enable email notifications for the [% terms.bug %].
</p>
</p>
[% IF user.bugs_ignored.size %]
[% IF user.bugs_ignored.size %]
...
@@ -291,6 +298,7 @@ preferences for <em>their</em> relationship to the [% terms.bug %]
...
@@ -291,6 +298,7 @@ preferences for <em>their</em> relationship to the [% terms.bug %]
<p>
<p>
Add [% terms.bugs %]:<br>
Add [% terms.bugs %]:<br>
<input type="text" id="add_ignored_bugs"
<input type="text" id="add_ignored_bugs"
name="add_ignored_bugs" size="60">
name="add_ignored_bugs" size="60">
</p>
</p>
</div>
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