diff options
author | David Lawrence <dkl@mozilla.com> | 2014-03-03 22:27:55 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2014-03-03 22:27:55 +0100 |
commit | 17820c05049f28d1ce75fb5a358d5b089cb86613 (patch) | |
tree | dd25ff77c1442893bee6c36beb1ed1215875cdd9 | |
parent | 3dffa2cfc91b73613fcb2397870be2ffb13ca6a1 (diff) | |
download | bugzilla-17820c05049f28d1ce75fb5a358d5b089cb86613.tar.gz bugzilla-17820c05049f28d1ce75fb5a358d5b089cb86613.tar.xz |
Bug 926962 - all tracking flags are visible on the 'change many bugs at once' page
r=glob
-rw-r--r-- | template/en/default/list/edit-multiple.html.tmpl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl index 8f94105a7..6a3269dff 100644 --- a/template/en/default/list/edit-multiple.html.tmpl +++ b/template/en/default/list/edit-multiple.html.tmpl @@ -283,7 +283,13 @@ [% USE Bugzilla %] [%# Show all legal values and all fields, ignoring visibility controls. %] [% bug = default.defined ? default : 0 %] - [% FOREACH field = Bugzilla.active_custom_fields %] + [% custom_fields = [] %] + [% IF one_product.defined %] + [% custom_fields = Bugzilla.active_custom_fields(product=>one_product) %] + [% ELSE %] + [% custom_fields = Bugzilla.active_custom_fields %] + [% END %] + [% FOREACH field = custom_fields %] <tr> [% PROCESS bug/field.html.tmpl bug = default value = dontchange |