summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/en/default/whine/mail.html.tmpl5
-rw-r--r--template/en/default/whine/mail.txt.tmpl3
2 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl
index d82e214f7..81c1041ee 100644
--- a/template/en/default/whine/mail.html.tmpl
+++ b/template/en/default/whine/mail.html.tmpl
@@ -12,6 +12,7 @@
# queries: array of hashes containing:
# bugs: array containing hashes of fieldnames->values for each bug
# title: the title given in the whine scheduling mechanism
+ # name: the name of the query
# author: user object for the person who scheduled this whine
# recipient: user object for the intended recipient of the message
#%]
@@ -71,6 +72,10 @@
</tr>
[% END %]
</table>
+
+ <p align="left">
+ <a href="[% urlbase FILTER html %]buglist.cgi?cmdtype=runnamed&amp;namedcmd=[% query.name FILTER uri %]">View as [% terms.bug %] list</a>
+ </p>
[% END %]
[% ELSE %]
diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl
index eb8841464..44ea655f2 100644
--- a/template/en/default/whine/mail.txt.tmpl
+++ b/template/en/default/whine/mail.txt.tmpl
@@ -12,6 +12,7 @@
# queries: array of hashes containing:
# bugs: array containing hashes of fieldnames->values for each bug
# title: the title given in the whine scheduling mechanism
+ # name: the name of the query
# author: user object for the person who scheduled this whine
# recipient: user object for the intended recipient of the message
#%]
@@ -44,7 +45,7 @@
Summary: [% bug.short_desc %]
[% END %]
-
+View as [% terms.bug %] list: [% urlbase %]buglist.cgi?cmdtype=runnamed&namedcmd=[% query.name FILTER uri %]
[% END %]
[% ELSE %]