summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-03-25 05:46:32 +0100
committerByron Jones <glob@mozilla.com>2015-03-25 05:46:32 +0100
commit4dbea14802e08bce7b62f45055a6fa8fdf3d92e1 (patch)
tree83d519dfcc395f058f9e5f3807ee4e01fb427409 /extensions/BugModal/template/en
parent6404e17839514ce811f6716ca18c88c5f39c8886 (diff)
downloadbugzilla-4dbea14802e08bce7b62f45055a6fa8fdf3d92e1.tar.gz
bugzilla-4dbea14802e08bce7b62f45055a6fa8fdf3d92e1.tar.xz
Bug 1147267: the firefox "iteration" and "points" fields are visible on all products
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
index a16bfdd9b..a5d5f09f8 100644
--- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl
@@ -296,7 +296,7 @@
field_type = constants.FIELD_TYPE_SINGLE_SELECT
inline = 1
%]
- [% UNLESS cf_hidden_in_product('cf_rank', bug.product, bug.component) %]
+ [% UNLESS cf_hidden_in_product('cf_rank', bug.product, bug.component, bug) %]
[% rendered_custom_fields.push('cf_rank') %]
[% INCLUDE bug_modal/field.html.tmpl
field = bug_fields.cf_rank
@@ -569,7 +569,7 @@
[% bug.keyword_objects.pluck("name").join(", ") FILTER html %]
[% END %]
- [% UNLESS cf_hidden_in_product('cf_fx_iteration', bug.product, bug.component) %]
+ [% UNLESS cf_hidden_in_product('cf_fx_iteration', bug.product, bug.component, bug) %]
[% rendered_custom_fields.push('cf_fx_iteration') %]
[% INCLUDE bug_modal/field.html.tmpl
field = bug_fields.cf_fx_iteration
@@ -578,7 +578,7 @@
%]
[% END %]
- [% UNLESS cf_hidden_in_product('cf_fx_points', bug.product, bug.component) %]
+ [% UNLESS cf_hidden_in_product('cf_fx_points', bug.product, bug.component, bug) %]
[% rendered_custom_fields.push('cf_fx_points') %]
[% INCLUDE bug_modal/field.html.tmpl
field = bug_fields.cf_fx_points
@@ -736,7 +736,7 @@
FOREACH field = custom_fields;
NEXT IF field.type == constants.FIELD_TYPE_EXTENSION || field.type == constants.FIELD_TYPE_TEXTAREA;
NEXT IF rendered_custom_fields.exists(field.name);
- NEXT IF cf_hidden_in_product(field.name, bug.product, bug.component);
+ NEXT IF cf_hidden_in_product(field.name, bug.product, bug.component, bug);
cf_value = bug.${field.name};
IF field.type == constants.FIELD_TYPE_SINGLE_SELECT;
has_value = cf_value != "---";