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 /template/en/default/bug/edit.html.tmpl | |
parent | 5cbb1c79abf94ffdd55f554c910da64cd9782503 (diff) | |
download | bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.gz bugzilla-eca4822f0ad4733af64425c10b9edd1d7ca62772.tar.xz |
merged with bmo/4.0
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 4d1e12597..a55be45fe 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -870,7 +870,7 @@ [% show_bug_flags = 0 %] [% bug_flags_set = 0 %] [% show_more_flags = 0 %] - [% FOREACH type = bug.flag_types %] + [% FOREACH type = bug.flag_types(is_active=>1) %] [% IF (type.flags && type.flags.size > 0) || (user.id && type.is_active) %] [% show_bug_flags = 1 %] [% END %] @@ -929,9 +929,8 @@ [% BLOCK section_customfields %] [%# *** Custom Fields *** %] [% USE Bugzilla %] - [% FOREACH field = Bugzilla.active_custom_fields %] + [% FOREACH field = Bugzilla.active_custom_fields(product=>bug.product_obj,component=>bug.component_obj,type=>1) %] [% NEXT IF NOT user.id AND field.value == "---" %] - [% NEXT IF cf_hidden_in_product(field.name, bug.product, bug.component, 1) %] <tr> [% PROCESS bug/field.html.tmpl value = bug.${field.name} editable = bug.check_can_change_field(field.name, 0, 1) |