From 1f30fac936a3b0905e736dd86e559e33caf036ac Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 10 Aug 2011 18:26:03 -0400 Subject: Initial checkin of bmo/4.0 extensions. Still todo: port changes to core Bugzilla code --- .../account/prefs/component_watch.html.tmpl | 148 +++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl (limited to 'extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl') 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 new file mode 100644 index 000000000..c3247078a --- /dev/null +++ b/extensions/ComponentWatching/template/en/default/account/prefs/component_watch.html.tmpl @@ -0,0 +1,148 @@ +[%# + # The contents of this file are subject to the Mozilla Public + # License Version 1.1 (the "License"); you may not use this file + # except in compliance with the License. You may obtain a copy of + # the License at http://www.mozilla.org/MPL/ + # + # Software distributed under the License is distributed on an "AS + # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or + # implied. See the License for the specific language governing + # rights and limitations under the License. + # + # The Original Code is the Component Watching Extension + # + # The Initial Developer of the Original Code is the Mozilla Foundation + # Portions created by the Initial Developers are Copyright (C) 2011 the + # Initial Developer. All Rights Reserved. + # + # Contributor(s): + # Byron Jones + #%] + +[%# initialise product to component mapping #%] + +[% SET selectable_products = user.get_selectable_products %] + + + + + + +

+Select the components you want to watch. To watch all components in a product, +watch "__Any__". +

+ + + + + + + + + + + + + + +
Product + +
Component + +
 
+ +

+Use Email Preferences to filter which +notification emails you receive. +

+ +
+

+You are currently watching: +

+ +[% IF watches.size %] + + + + + + + +[% FOREACH watch IN watches %] + + [% IF (watch.component) %] + + + + [% ELSE %] + + + + [% END %] + +[% END %] +
 ProductComponent
[% watch.component.product.name FILTER html %] + + [% watch.component.name FILTER html %] + + [% watch.product.name FILTER html %] + + __Any__ + +
+ +

+Select the items you want to stop watching. +

+ +[% ELSE %] + +

+You are not watching any components. +

+ +[% END %] + -- cgit v1.2.3-24-g4f1b