From 3e8a6b2bdcd591af4e67002489a71753c7920c7a Mon Sep 17 00:00:00 2001
From: Byron Jones
Date: Tue, 15 Jul 2014 13:25:05 +0800
Subject: Bug 1036303: add a list of tracking/project/etc tracking flags to the
bugmail filtering prefs page
---
.../default/account/prefs/bugmail_filter.html.tmpl | 202 +++++++++++++--------
1 file changed, 130 insertions(+), 72 deletions(-)
(limited to 'extensions/BugmailFilter/template/en/default')
diff --git a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
index 83c8d729a..1bcbd35ae 100644
--- a/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
+++ b/extensions/BugmailFilter/template/en/default/account/prefs/bugmail_filter.html.tmpl
@@ -173,84 +173,142 @@ var cpts = new Array();
If multiple filters are applicable to the same [% terms.bug %] change,
include filters override exclude filters.
+
+
+Field Groups
+
- Examples:
+ Some fields are grouped into a single entry in the "field" list.
+ Following is a list of the groups and all the fields they contain:
+
+[% FOREACH type = tracking_flags_by_type %]
+ [% type.name FILTER html %]:
+
+ [% flag_count = type.flags.size %]
+ [% FOREACH flag = type.flags %]
+ [% IF flag_count > 10 && loop.count == 10 %]
+
+ …
+ (show all)
+
+
+ [% END %]
+ [% flag.description FILTER html FILTER no_break %]
+ [% ", " UNLESS loop.last %]
+ [% IF loop.last && flag_count > 10 %]
+
+ [% END %]
+ [% END %]
+
+[% END %]
+
+
+Examples
To never receive changes made to the "QA Whiteboard" field for [% terms.bugs %]
where you are not the assignee:
-
-
- Field: |
- QA Whiteboard |
-
-
- Product: |
- __Any__ |
-
-
- Component: |
- __Any__ |
-
-
- Relationship: |
- Not Assignee |
-
-
- Action: |
- Exclude |
-
-
+
+
+ Field: |
+ QA Whiteboard |
+
+
+ Product: |
+ __Any__ |
+
+
+ Component: |
+ __Any__ |
+
+
+ Relationship: |
+ Not Assignee |
+
+
+ Action: |
+ Exclude |
+
+
+
+
+ To receive notifications of new [% terms.bugs %] in Firefox's "New Tab Page"
+ component, and no other changes, you require three filters. First an
+ exclude filter to drop all changes made to [% terms.bugs %] in that
+ component:
+
+
+
+ Field: |
+ __Any__ |
+
+
+ Product: |
+ Firefox |
+
+
+ Component: |
+ New Tab Page |
+
+
+ Relationship: |
+ __Any__ |
+
+
+ Action: |
+ Exclude |
+
+
- To receive just comments made to Firefox [% terms.bugs %], and no other
- changes, you require two filters. First an exclude filter to drop all
- changes made to [% terms.bugs %] in that product:
-
-
- Field: |
- __Any__ |
-
-
- Product: |
- Firefox |
-
-
- Component: |
- __Any__ |
-
-
- Relationship: |
- __Any__ |
-
-
- Action: |
- Exclude |
-
-
-
Then an include filter to indicate that you want to receive
- comments:
-
-
- Field: |
- Comment Created |
-
-
- Product: |
- Firefox |
-
-
- Component: |
- __Any__ |
-
-
- Relationship: |
- __Any__ |
-
-
- Action: |
- Include |
-
-
+ notifications when a [% terms.bug %] is created:
+
+
+
+ Field: |
+ [% terms.Bug %] Created |
+
+
+ Product: |
+ Firefox |
+
+
+ Component: |
+ New Tab Page |
+
+
+ Relationship: |
+ __Any__ |
+
+
+ Action: |
+ Include |
+
+
+
+ And finally another include filter to catch when a [% terms.bug %] is
+ moved into the "New Tab Page" component.
+
+
+ Field: |
+ Component |
+
+
+ Product: |
+ Firefox |
+
+
+ Component: |
+ New Tab Page |
+
+
+ Relationship: |
+ __Any__ |
+
+
+ Action: |
+ Include |
+
+
--
cgit v1.2.3-24-g4f1b