diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/whine/mail.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/whine/mail.txt.tmpl | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/template/en/default/whine/mail.html.tmpl b/template/en/default/whine/mail.html.tmpl index 72e7d8004..21784299e 100644 --- a/template/en/default/whine/mail.html.tmpl +++ b/template/en/default/whine/mail.html.tmpl @@ -66,9 +66,11 @@ [% END %] </table> - <p align="left"> - <a href="[% urlbase FILTER html %]buglist.cgi?cmdtype=runnamed&namedcmd=[% query.name FILTER uri %]">View as [% terms.bug %] list</a> - </p> + [% IF author.login == recipient.login %] + <p align="left"> + <a href="[% urlbase FILTER html %]buglist.cgi?cmdtype=runnamed&namedcmd=[% query.name FILTER uri %]">View as [% terms.bug %] list</a> + </p> + [% END %] [% END %] [% ELSE %] diff --git a/template/en/default/whine/mail.txt.tmpl b/template/en/default/whine/mail.txt.tmpl index ba1e95741..845869db4 100644 --- a/template/en/default/whine/mail.txt.tmpl +++ b/template/en/default/whine/mail.txt.tmpl @@ -51,8 +51,10 @@ [% END %] + [% IF author.login == recipient.login %] View as [% terms.bug %] list: [% urlbase %]buglist.cgi?cmdtype=runnamed&namedcmd=[% query.name FILTER uri %] [% END %] + [% END %] [% ELSE %] No [% terms.bugs %] were found that matched the search criteria. |