diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-21 18:42:51 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2011-12-21 18:42:51 +0100 |
commit | eca4822f0ad4733af64425c10b9edd1d7ca62772 (patch) | |
tree | 1f7684f00e053b80a6d0ffadf1aa147e4e9e2fc4 /extensions/BMO/template | |
parent | 5cbb1c79abf94ffdd55f554c910da64cd9782503 (diff) | |
download | bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.gz bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.xz |
merged with bmo/4.0
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r-- | extensions/BMO/template/en/default/global/choose-product.html.tmpl | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/extensions/BMO/template/en/default/global/choose-product.html.tmpl b/extensions/BMO/template/en/default/global/choose-product.html.tmpl index 7e0a8dc18..9daae1d25 100644 --- a/extensions/BMO/template/en/default/global/choose-product.html.tmpl +++ b/extensions/BMO/template/en/default/global/choose-product.html.tmpl @@ -125,7 +125,18 @@ href="http://www.mozilla.org/support/">Visit the mozilla.org support page</a> be [% END %] [% FOREACH p = c.products %] - <tr> + [% class = "" %] + [% has_entry_groups = 0 %] + [% FOREACH gid = p.group_controls.keys %] + [% IF p.group_controls.$gid.entry %] + [% has_entry_groups = 1 %] + [% class = class _ " group_$gid" %] + [% END %] + [% END %] + <tr class="[% "group_secure" IF has_entry_groups +%] [% class FILTER html %]" + [%- IF has_entry_groups %] title="This product requires one or more + group memberships in order to enter [% terms.bugs %] in it. You have them, but be + aware not everyone else does."[% END %]> <th align="right" valign="top"> [% IF p.name == "Mozilla PR" AND target == "enter_bug.cgi" AND NOT format AND NOT cgi.param("debug") %] <a href="[% target FILTER uri %]?product=[% p.name FILTER uri -%] |