summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug/edit.html.tmpl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2009-02-08 20:42:19 +0100
committermkanat%bugzilla.org <>2009-02-08 20:42:19 +0100
commitf65a3e7e20fdfe2f136ecdaa228f0784bb56b9ad (patch)
tree276bfe21eed5f29153cd15f1f7a16846b8709956 /template/en/default/bug/edit.html.tmpl
parent88463d2b267baefbfc788f192ffa9f08ea972d51 (diff)
downloadbugzilla-f65a3e7e20fdfe2f136ecdaa228f0784bb56b9ad.tar.gz
bugzilla-f65a3e7e20fdfe2f136ecdaa228f0784bb56b9ad.tar.xz
Bug 371995: Allow the Product field to restrict visibility of custom fields
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=mkanat
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r--template/en/default/bug/edit.html.tmpl9
1 files changed, 5 insertions, 4 deletions
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 #%]
[%#############%]
+
<tr>
- <td class="field_label">
- <label for="product" accesskey="p"><b><u>P</u>roduct</b></label>:
- </td>
- [% 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) %]
</tr>
[%###############%]
[%# Component #%]