summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-07-18 07:29:52 +0200
committerByron Jones <glob@mozilla.com>2014-07-18 07:29:52 +0200
commitb2af966052d36b4029a55f7da197e3b8c05eb9f4 (patch)
tree2c49e664be39b751eb63ae82a3034cd7a0eb9671 /template/en
parentaa7f12308604c29e1fa3c952636c4c8c38963c3c (diff)
downloadbugzilla-b2af966052d36b4029a55f7da197e3b8c05eb9f4.tar.gz
bugzilla-b2af966052d36b4029a55f7da197e3b8c05eb9f4.tar.xz
Bug 1037571: Change Several Bugs at Once Does Not Allow Modification of the QA Whiteboard
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/bug/edit.html.tmpl1
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl5
2 files changed, 5 insertions, 1 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl
index 3ec871282..496a98b1b 100644
--- a/template/en/default/bug/edit.html.tmpl
+++ b/template/en/default/bug/edit.html.tmpl
@@ -1000,6 +1000,7 @@
[% FOREACH field = Bugzilla.active_custom_fields(product=>bug.product_obj,component=>bug.component_obj) %]
[% NEXT IF field.type == constants.FIELD_TYPE_EXTENSION %]
[% NEXT IF NOT user.id AND field.value == "---" %]
+ [%# BMO hook for controlling field visibility %]
[% Hook.process('custom_field', 'bug/edit.html.tmpl') %]
[% NEXT IF field.hidden %]
<tr>
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 6a3269dff..8a1de5f2d 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -290,8 +290,11 @@
[% custom_fields = Bugzilla.active_custom_fields %]
[% END %]
[% FOREACH field = custom_fields %]
+ [%# BMO hook for controlling field visibility %]
+ [% Hook.process('custom_field', 'list/edit-multiple.html.tmpl', ) %]
+ [% NEXT IF field.hidden %]
<tr>
- [% PROCESS bug/field.html.tmpl bug = default
+ [% PROCESS bug/field.html.tmpl bug = bug
value = dontchange
editable = 1
allow_dont_change = 1 %]