diff options
author | Gervase Markham <written.to.the.glory.of.god@gerv.net> | 2011-11-07 22:10:18 +0100 |
---|---|---|
committer | Dave Lawrence <dkl@mozilla.com> | 2011-11-07 22:10:18 +0100 |
commit | 05e14287f356c8f1308c339e9dbac83011940430 (patch) | |
tree | bc1eaa20639e20bf706392f9478ec713970d7f31 /extensions/RequestWhiner/template/en/default/requestwhiner | |
parent | 316d0ce36713e466c4958aba30eaf4f02b53379f (diff) | |
download | bugzilla-05e14287f356c8f1308c339e9dbac83011940430.tar.gz bugzilla-05e14287f356c8f1308c339e9dbac83011940430.tar.xz |
Bug 682847 - Create request flag whining extension
r=dkl
Diffstat (limited to 'extensions/RequestWhiner/template/en/default/requestwhiner')
-rw-r--r-- | extensions/RequestWhiner/template/en/default/requestwhiner/mail.html.tmpl | 54 | ||||
-rw-r--r-- | extensions/RequestWhiner/template/en/default/requestwhiner/mail.txt.tmpl | 38 |
2 files changed, 92 insertions, 0 deletions
diff --git a/extensions/RequestWhiner/template/en/default/requestwhiner/mail.html.tmpl b/extensions/RequestWhiner/template/en/default/requestwhiner/mail.html.tmpl new file mode 100644 index 000000000..de2c4dc6a --- /dev/null +++ b/extensions/RequestWhiner/template/en/default/requestwhiner/mail.html.tmpl @@ -0,0 +1,54 @@ +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the RequestWhiner Bugzilla Extension. + # + # The Initial Developer of the Original Code is Gervase Markham + # Portions created by the Initial Developer are Copyright (C) 2011 the + # Initial Developer. All Rights Reserved. + # + # Contributor(s): Gervase Markham <written.to.the.glory.of.god@gerv.net> + #%] + +[% PROCESS global/variables.none.tmpl %] +[% PROCESS 'global/field-descs.none.tmpl' %] + +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <title> + [[% terms.Bugzilla %]] [% subject FILTER html %] + </title> + </head> + <body bgcolor="#FFFFFF"> + +<p>Here are your outstanding requests older than [% threshold FILTER html%] +days:</p> + +[% FOREACH request = requests.keys %] +<h3>[% request FILTER html %]</h3> + +<ul> + [% FOREACH bug = requests.$request %] + <li> + <a href="[% urlbase FILTER none %]show_bug.cgi?id=[% bug.id FILTER none %]">[% terms.Bug %] + [%+ bug.id FILTER none %]: [% bug.summary FILTER html %]</a> ([% bug.age FILTER none %] days old) + </li> + [% END %] +</ul> + +[% END %] + +<p><a href="[% urlbase FILTER none %]request.cgi?action=queue&requestee=[% recipient.email FILTER uri %]&group=type">See all your outstanding requests</a>.</p> + +<p>A href="https://wiki.mozilla.org/BMO/Handling_Requests">Get guidance on handling requests</a>.</p> + + </body> +</html> diff --git a/extensions/RequestWhiner/template/en/default/requestwhiner/mail.txt.tmpl b/extensions/RequestWhiner/template/en/default/requestwhiner/mail.txt.tmpl new file mode 100644 index 000000000..a7cfd9668 --- /dev/null +++ b/extensions/RequestWhiner/template/en/default/requestwhiner/mail.txt.tmpl @@ -0,0 +1,38 @@ +[%# The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the RequestWhiner Bugzilla Extension. + # + # The Initial Developer of the Original Code is Gervase Markham + # Portions created by the Initial Developer are Copyright (C) 2011 the + # Initial Developer. All Rights Reserved. + # + # Contributor(s): Gervase Markham <written.to.the.glory.of.god@gerv.net> + #%] + +[% PROCESS global/variables.none.tmpl %] +[% PROCESS 'global/field-descs.none.tmpl' %] + +Here are your outstanding requests older than [% threshold %] days: + +[% FOREACH request = requests.keys %] +[%+ request +%] +[%+ "-" FILTER repeat(request.length) +%] + + [% FOREACH bug = requests.$request %] + [%+ terms.Bug +%] [%+ bug.id %]: [% bug.summary +%] ([% bug.age %] days old) + [%+ urlbase %]show_bug.cgi?id=[% bug.id +%] + [%+ END +%] +[% END %] +To see all your outstanding requests, visit: +[%+ urlbase %]request.cgi?action=queue&requestee=[% recipient.email FILTER uri %]&group=type + +For guidance on handling requests, see: +https://wiki.mozilla.org/BMO/Handling_Requests |