From f65a3e7e20fdfe2f136ecdaa228f0784bb56b9ad Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Sun, 8 Feb 2009 19:42:19 +0000 Subject: Bug 371995: Allow the Product field to restrict visibility of custom fields Patch By Max Kanat-Alexander r=LpSolit, a=mkanat --- template/en/default/bug/edit.html.tmpl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'template/en/default/bug/edit.html.tmpl') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 80c5745fc..527766357 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -369,11 +369,12 @@ [%#############%] [%# PRODUCT #%] [%#############%] + - - : - - [% PROCESS select selname => "product" %] + [% INCLUDE bug/field.html.tmpl + bug = bug, field = select_fields.product, + desc_url = 'describecomponents.cgi', value = bug.product + editable = bug.check_can_change_field('product', 0, 1) %] [%###############%] [%# Component #%] -- cgit v1.2.3-24-g4f1b