From 550d53cc7bc2ed66fd40ab6a276d9f65c6ac7278 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Wed, 24 Sep 2014 11:55:03 +0800 Subject: Bug 1054141: add the ability to filter on the user that made the change --- .../default/account/prefs/bugmail_filter.html.tmpl | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) (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 43d18f516..e7e0ed749 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 @@ -108,6 +108,20 @@ var cpts = new Array(); your relationship with the [% terms.bug %] + + Changer: + + [% INCLUDE global/userselect.html.tmpl + id => "changer" + name => "changer" + size => 32 + emptyok => 1 + %] + + + the person who made the change (leave empty for "anyone") + + Action: @@ -141,6 +155,7 @@ var cpts = new Array(); Component Field Relationship + Changer Action [% FOREACH filter = filters %] @@ -153,6 +168,15 @@ var cpts = new Array(); [% filter.component ? filter.component.name : 'Any' FILTER html %] [% filter.field_description FILTER html %] [% filter.relationship ? filter.relationship_name : 'Any' FILTER html %] + + [% IF filter.changer %] + + [% filter.changer.login FILTER html %] + + [% ELSE %] + Anyone + [% END %] + [% filter.action ? 'Exclude' : 'Include' %] [% END %] @@ -234,6 +258,40 @@ var cpts = new Array(); Relationship: Not Assignee + + Changer: + (empty) + + + Action: + Exclude + + + +

+ To never receive email for any change made by webops-kanban@mozilla.bugs: +

+ + + + + + + + + + + + + + + + + + + + + @@ -263,6 +321,10 @@ var cpts = new Array(); + + + + @@ -289,6 +351,10 @@ var cpts = new Array(); + + + + @@ -315,6 +381,10 @@ var cpts = new Array(); + + + + -- cgit v1.2.3-24-g4f1b
Field:__Any__
Product:__Any__
Component:__Any__
Relationship:__Any__
Changer:webops-kanban@mozilla.bugs
Action: ExcludeRelationship: __Any__
Changer:(empty)
Action: ExcludeRelationship: __Any__
Changer:(empty)
Action: IncludeRelationship: __Any__
Changer:(empty)
Action: Include