summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger/template/en/default
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-28 08:34:27 +0200
committerByron Jones <glob@mozilla.com>2015-05-28 08:34:27 +0200
commit236be0474b114ea15a57d61d3be5931a612fb155 (patch)
tree7f5d7f2da7c5a184d79deb2d01a5bf69db582a09 /extensions/RequestNagger/template/en/default
parent0b80f6942caf44670ef7c22e074b185720521db5 (diff)
downloadbugzilla-236be0474b114ea15a57d61d3be5931a612fb155.tar.gz
bugzilla-236be0474b114ea15a57d61d3be5931a612fb155.tar.xz
Bug 1168826: only include requests someone is waiting on in the manager's "watching" emails
Diffstat (limited to 'extensions/RequestNagger/template/en/default')
-rw-r--r--extensions/RequestNagger/template/en/default/email/request_nagging-user-header.txt.tmpl8
-rw-r--r--extensions/RequestNagger/template/en/default/email/request_nagging-user.html.tmpl19
-rw-r--r--extensions/RequestNagger/template/en/default/email/request_nagging-user.txt.tmpl14
3 files changed, 4 insertions, 37 deletions
diff --git a/extensions/RequestNagger/template/en/default/email/request_nagging-user-header.txt.tmpl b/extensions/RequestNagger/template/en/default/email/request_nagging-user-header.txt.tmpl
index 6bb9e997b..199d03d66 100644
--- a/extensions/RequestNagger/template/en/default/email/request_nagging-user-header.txt.tmpl
+++ b/extensions/RequestNagger/template/en/default/email/request_nagging-user-header.txt.tmpl
@@ -14,12 +14,6 @@
From: [% Param('mailfrom') %]
To: [% recipient.email %]
-Subject: [[% terms.Bugzilla %]] Overdue Requests
- [% IF summary.requestee %]
- (Of you: [% summary.requestee %])
- [% END %]
- [% IF summary.setter %]
- (By you: [% summary.setter %])
- [% END %]
+Subject: [[% terms.Bugzilla %]] Overdue Requests ([% summary.requestee %])
Date: [% date %]
X-Bugzilla-Type: nag
diff --git a/extensions/RequestNagger/template/en/default/email/request_nagging-user.html.tmpl b/extensions/RequestNagger/template/en/default/email/request_nagging-user.html.tmpl
index 9aeb73f61..976d78be5 100644
--- a/extensions/RequestNagger/template/en/default/email/request_nagging-user.html.tmpl
+++ b/extensions/RequestNagger/template/en/default/email/request_nagging-user.html.tmpl
@@ -9,7 +9,6 @@
[%
PROCESS "global/field-descs.none.tmpl";
requestee = requests.item(recipient.login).requestee;
- setter = requests.item(recipient.login).setter;
summary = requests.item(recipient.login).summary;
types = requests.item(recipient.login).types;
%]
@@ -23,21 +22,9 @@
<body bgcolor="#ffffff">
-[% IF requestee.size %]
- <h3>Overdue requests requiring action from you:</h3>
- <div>[% summary.requestee FILTER html %]</div>
- [% PROCESS requests report="requestee" requests=requestee %]
-[% END %]
-
-[% IF requestee.size && setter.size %]
- <hr>
-[% END %]
-
-[% IF setter.size %]
- <h3>Overdue requests you have requested:</h3>
- <div>[% summary.setter FILTER html %]</div>
- [% PROCESS requests report="setter" requests=setter %]
-[% END %]
+<h3>Overdue requests requiring action from you:</h3>
+<div>[% summary.requestee FILTER html %]</div>
+[% PROCESS requests report="requestee" requests=requestee %]
[% BLOCK requests %]
[% FOREACH type IN types.item(report) %]
diff --git a/extensions/RequestNagger/template/en/default/email/request_nagging-user.txt.tmpl b/extensions/RequestNagger/template/en/default/email/request_nagging-user.txt.tmpl
index 5138f5f00..87121216d 100644
--- a/extensions/RequestNagger/template/en/default/email/request_nagging-user.txt.tmpl
+++ b/extensions/RequestNagger/template/en/default/email/request_nagging-user.txt.tmpl
@@ -9,28 +9,14 @@
[%
PROCESS "global/field-descs.none.tmpl";
requestee = requests.item(recipient.login).requestee;
- setter = requests.item(recipient.login).setter;
summary = requests.item(recipient.login).summary;
types = requests.item(recipient.login).types;
%]
-[% IF requestee.size %]
Overdue requests requiring action from you:
[%+ summary.requestee %]
[%+ PROCESS requests report="requestee" request_list=requestee %]
-[% END %]
-
-[% IF requestee.size && setter.size %]
--
-[% END %]
-
-[% IF setter.size %]
-Overdue requests you have requested:
-[%+ summary.setter %]
-
-[%+ PROCESS requests report="setter" request_list=setter %]
-[% END %]
[% BLOCK requests %]
[% FOREACH type IN types.item(report) %]