[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [%# INTERFACE: # watchedusers: string. # Comma-separated list of email addresses this user watches. # watchers: array. # Array of users watching this user's account. # excludeself: boolean. # True if user is not receiving self-generated mail. # : Multiple hashes, one for each rolename (e.g. assignee; see # below), keyed by reasonname (e.g. comments; again, see # below). The value is a boolean - true if the user is # receiving mail for that reason when in that role. #%] [%# If the user's bugmail has been disabled by admins, show a warning. %] [% IF user.email_disabled %]
Your [% terms.bug %]mail has been disabled by the [% terms.Bugzilla %] administrator. Please contact [% Param('maintainer') %] to enable [%+ terms.bug %]mails.
[% 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.


Global options

[% prefname = "email-$constants.REL_ANY-$constants.EVT_FLAG_REQUESTED" %]
[% prefname = "email-$constants.REL_ANY-$constants.EVT_REQUESTED_FLAG" %] [% IF user.is_global_watcher %]

You are watching all [% terms.bugs %]. To be removed from this role, contact [% Param("maintainer") %].

[% END %]

Field/recipient specific options

[% events = [ { id = constants.EVT_ADDED_REMOVED, description = "I'm added to or removed from this capacity" }, { id = constants.EVT_BUG_CREATED, description = "A new $terms.bug is created" }, { id = constants.EVT_OPENED_CLOSED, description = "The $terms.bug is resolved or reopened" }, { id = constants.EVT_COMPONENT, description = "The product or component changes" }, { id = constants.EVT_PROJ_MANAGEMENT, description = "The priority, status, severity, or milestone changes" }, { id = constants.EVT_COMMENT, description = "New comments are added" }, { id = constants.EVT_ATTACHMENT, description = "New attachments are added" }, { id = constants.EVT_ATTACHMENT_DATA, description = "Attachment details changes" }, { id = constants.EVT_KEYWORD, description = "The keywords field changes" }, { id = constants.EVT_CC, description = "The CC field changes" }, { id = constants.EVT_DEPEND_BLOCK, description = "The dependency tree changes" }, { id = constants.EVT_OTHER, description = "Any field not mentioned above changes" }, ] %] [% neg_events = [ { id = constants.EVT_UNCONFIRMED, description = "The $terms.bug is in the UNCONFIRMED state" }, { id = constants.EVT_CHANGED_BY_ME, description = "The change was made by me" }, { id = constants.EVT_MINOR_UPDATE, description = "The change was marked as a minor update" }, ] %] [% relationships = [ { id = constants.REL_ASSIGNEE, description = "Assignee" }, { id = constants.REL_REPORTER, description = "Reporter" }, { id = constants.REL_CC, description = "CCed" }, ] %] [% IF Param('useqacontact') %] [% relationships.push({ id = constants.REL_QA, description = "QA Contact" }) %] [% END %] [%# This is up here so that the "relationships" hook can modify it. %] [% no_added_removed = [constants.REL_REPORTER] %] [% Hook.process('relationships') %] [% num_columns = relationships.size %] [% FOREACH relationship = relationships %] [% END %] [% FOREACH event = events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] [% END %] [% END %] [% FOREACH event = neg_events %] [% count = loop.count() %] [% FOREACH relationship = relationships %] [% END %] [% END %]
When my relationship to this [% terms.bug %] is: I want to receive mail when:
[% relationship.description FILTER html %]
[% event.description FILTER html %]
  but not when (overrides above):
[% event.description FILTER html %]

User Watching

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).

[% IF watchedusers.size %]

You are watching everyone in the following list:


[% ELSE %]

You are currently not watching any users.

[% END %]

Add users to my watch list (comma separated list): [% INCLUDE global/userselect.html.tmpl id => "new_watchedusers" name => "new_watchedusers" value => "" size => 60 multiple => 5 %]

Users watching you:
[% IF watchers.size %] [% FOREACH watcher = watchers %] [% watcher FILTER html %]
[% END %] [% ELSE %] No one [% END %]


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 will re-enable email notifications for the [% terms.bug %].

[% IF user.bugs_ignored.size %]

You are currently ignoring: [% FOREACH bug = user.bugs_ignored %] [% END %]
[% bug.id FILTER html %] [% bug.status FILTER html %] [% IF user.can_see_bug(bug.id) %] - [% bug.summary FILTER html %] [% ELSE %] (private) [% END %]

[% END %]

Add [% terms.bugs %]: