From a54f3f23447038f15de353b3a8642701325b00ec Mon Sep 17 00:00:00 2001 From: "travis%sedsystems.ca" <> Date: Wed, 16 Mar 2005 00:10:17 +0000 Subject: Bug 280517 : Let me know who is watching my account Patch by Frederic Buclin r=myk a=myk --- template/en/default/account/prefs/email.html.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'template') 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. # : Multiple hashes, one for each rolename (e.g. owner; see @@ -63,6 +65,19 @@ value="[% watchedusers FILTER html %]"> + + + Users watching you: + + [% IF watchers.size %] + [% FOREACH watcher = watchers %] + [% watcher FILTER html %]
+ [% END %] + [% ELSE %] + Nobody is currently watching your account. + [% END %] + + [% END %] -- cgit v1.2.3-24-g4f1b