diff options
author | mozilla%colinogilvie.co.uk <> | 2006-08-17 04:01:09 +0200 |
---|---|---|
committer | mozilla%colinogilvie.co.uk <> | 2006-08-17 04:01:09 +0200 |
commit | f172b572be52c41ca4ac712e411915b311bfddf5 (patch) | |
tree | 750be4482236a2dad12c8586130c1b5eea2c16e4 /template | |
parent | fac8f987518be89eb1fc14e8ee082b9ea00fce39 (diff) | |
download | bugzilla-f172b572be52c41ca4ac712e411915b311bfddf5.tar.gz bugzilla-f172b572be52c41ca4ac712e411915b311bfddf5.tar.xz |
Bug 320197: Watcher editing in userprefs should use a list box instead of text entry
Patch by Colin Ogilvie <colin.ogilvie@gmail.com>; r=wicked; a=myk
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/account/prefs/email.html.tmpl | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/template/en/default/account/prefs/email.html.tmpl b/template/en/default/account/prefs/email.html.tmpl index cfb34a893..1cfc4f18f 100644 --- a/template/en/default/account/prefs/email.html.tmpl +++ b/template/en/default/account/prefs/email.html.tmpl @@ -261,12 +261,25 @@ document.write('<input type="button" value="Disable All Mail" onclick="SetCheckb If you watch a user, it is as if you are standing in their shoes for the purposes of getting email. Email is sent or not according to <u>your</u> preferences for <u>their</u> relationship to the [% terms.bug %] -(e.g. Assignee). You are watching anyone on the following comma-separated list: +(e.g. Assignee). +[% IF watchedusers.size %]You are watching anyone on the following list: + </p> + + <p> + <select id="watched_by_you" name="watched_by_you" multiple="multiple" size="5"> + [% FOREACH w = watchedusers %] + <option value="[% w FILTER html %]">[% w FILTER html %]</option> + [% END %] + </select> <br /> + <input type="checkbox" id="remove_watched_users" name="remove_watched_users"> + <label for="remove_watched_users">Remove selected users from my watch list</label> +[% ELSE %] +You are currently not watching any users. +[% END %] </p> -<p><a name="watched_by_you" id="watched_by_you">Users to watch</a>: - <input size="60" name="watchedusers" - value="[% watchedusers FILTER html %]"> +<p><a name="new_watched_by_you" id="new_watched_by_you">Add users to my watch list (comma separated list)</a>: + <input size="60" name="new_watchedusers" value=""> </p> <p><a name="watching_you" id="watching_you">Users watching you</a>:<br> |