summaryrefslogtreecommitdiffstats
path: root/template/en/default/account/prefs
diff options
context:
space:
mode:
authortravis%sedsystems.ca <>2005-03-16 01:10:17 +0100
committertravis%sedsystems.ca <>2005-03-16 01:10:17 +0100
commita54f3f23447038f15de353b3a8642701325b00ec (patch)
tree489aeb46641d43fd082353c56514c2324ba3746e /template/en/default/account/prefs
parent04705e885416930880ca5dfa5eb29f34ef995aea (diff)
downloadbugzilla-a54f3f23447038f15de353b3a8642701325b00ec.tar.gz
bugzilla-a54f3f23447038f15de353b3a8642701325b00ec.tar.xz
Bug 280517 : Let me know who is watching my account
Patch by Frederic Buclin <LpSolit@gmail.com> r=myk a=myk
Diffstat (limited to 'template/en/default/account/prefs')
-rw-r--r--template/en/default/account/prefs/email.html.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl
index ded4d30e3..ba07fb155 100644
--- a/template/en/default/account/prefs/email.html.tmpl
+++ b/template/en/default/account/prefs/email.html.tmpl
@@ -24,6 +24,8 @@
[%# INTERFACE:
# watchedusers: string.
# Comma-separated list of email addresses this user watches.
+ # watchers: array.
+ # Array of users watching this user's account.
# excludeself: boolean.
# True if user is not receiving self-generated mail.
# <rolename>: Multiple hashes, one for each rolename (e.g. owner; see
@@ -63,6 +65,19 @@
value="[% watchedusers FILTER html %]">
</td>
</tr>
+
+ <tr>
+ <th align="right" valign="baseline">Users watching you:</th>
+ <td>
+ [% IF watchers.size %]
+ [% FOREACH watcher = watchers %]
+ [% watcher FILTER html %] <br>
+ [% END %]
+ [% ELSE %]
+ Nobody is currently watching your account.
+ [% END %]
+ </td>
+ </tr>
[% END %]
<tr>