diff options
author | mkanat%bugzilla.org <> | 2009-04-18 00:27:38 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2009-04-18 00:27:38 +0200 |
commit | 14b373c1b2a5182ed9ffa3a1bc8d8bf104311a12 (patch) | |
tree | 9b6002f391a0bba98262272367ddd567793d1576 /template/en/default/bug/edit.html.tmpl | |
parent | 27d919b36377e25b74a5c46e8c5eec218c58be39 (diff) | |
download | bugzilla-14b373c1b2a5182ed9ffa3a1bc8d8bf104311a12.tar.gz bugzilla-14b373c1b2a5182ed9ffa3a1bc8d8bf104311a12.tar.xz |
Bug 482584: Add a parameter to hide the "See Also" field
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, r=dkl, a=LpSolit
Diffstat (limited to 'template/en/default/bug/edit.html.tmpl')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index c59771eab..de89f1b8e 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -908,13 +908,15 @@ [%# Block for See Also #%] [%############################################################################%] [% BLOCK section_see_also %] - <tr> - [% INCLUDE bug/field.html.tmpl - field = bug_fields.see_also - value = bug.see_also - editable = bug.check_can_change_field('see_also', 0, 1) - %] - </tr> + [% IF Param('use_see_also') || bug.see_also.size %] + <tr> + [% INCLUDE bug/field.html.tmpl + field = bug_fields.see_also + value = bug.see_also + editable = bug.check_can_change_field('see_also', 0, 1) + %] + </tr> + [% END %] [% END %] [%############################################################################%] |