From d7f26d1246e4e40dbb947742b5539e786a3b77dd Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 10 Jun 2014 15:04:19 +0800 Subject: Bug 720832: Add the ability to watch component starting with a string --- .../account/prefs/component_watch.html.tmpl | 89 ++++++++++++++-------- 1 file changed, 59 insertions(+), 30 deletions(-) (limited to 'extensions/ComponentWatching/template/en') diff --git a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl index 8c193a056..5e27c1247 100644 --- a/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl +++ b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl @@ -11,6 +11,18 @@ [% SET selectable_products = user.get_selectable_products %] [% SET dont_show_button = 1 %] + +

- Select the components you want to watch. + Select the components you want to watch.
To watch all components in a product, watch "__Any__".
+ Watching components starting with "Developer Tools" is the same as watching + "Developer Tools", "Developer Tools: Console", "Developer Tools: Debugger", + etc. If a new component is added which starts with "Developer Tools", you'll + automatically start watching that too. +
Use Email Preferences to filter which notification emails you receive.

- +
- + - + + + + + - [% IF (watch.component) %] - - [% ELSE %] - - - [% END %] [% END %]
Product:Product:
Component:Component:Select the component(s) to add to your watch list:
- [% FOREACH product IN selectable_products %] [% FOREACH component IN product.components %] @@ -117,7 +151,10 @@ YAHOO.util.Event.onDOMReady(onRemoveChange); [%~ component.name FILTER html %] [% END %] [% END %] - +
+ Or watch components starting with:
+
[% FOREACH watch IN watches %]
- + - -   - - [% watch.component.name FILTER html %] - - - - -   - - __Any__ - + [% IF (watch.component) %] + + [% watch.component.name FILTER html %] + + [% ELSIF watch.component_prefix %] + starts with: [% watch.component_prefix FILTER html %] + [% ELSE %] + + __Any__ + + [% END %]
-- cgit v1.2.3-24-g4f1b