diff options
author | Tiago Mello <timello@gmail.com> | 2010-08-27 05:27:08 +0200 |
---|---|---|
committer | Tiago Mello <timello@gmail.com> | 2010-08-27 05:27:08 +0200 |
commit | 0844fe9fc6d2d5293fad1384d2955dedf30fc8c4 (patch) | |
tree | 636a0bbcdf71017fda712e60cd1a0dc1b7038b7b /template/en/default/bug/field.html.tmpl | |
parent | d94865b30a92be8a3a900f8d1d8262d36044b1ca (diff) | |
download | bugzilla-0844fe9fc6d2d5293fad1384d2955dedf30fc8c4.tar.gz bugzilla-0844fe9fc6d2d5293fad1384d2955dedf30fc8c4.tar.xz |
Bug 479400: Add the ability to show or hide particular custom fields
based on multiple values of another field (visibility controllers)
r/a=mkanat
Diffstat (limited to 'template/en/default/bug/field.html.tmpl')
-rw-r--r-- | template/en/default/bug/field.html.tmpl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/template/en/default/bug/field.html.tmpl b/template/en/default/bug/field.html.tmpl index 49cf718cc..34347b21c 100644 --- a/template/en/default/bug/field.html.tmpl +++ b/template/en/default/bug/field.html.tmpl @@ -42,9 +42,7 @@ #%] [% SET hidden = 0 %] -[% IF field.visibility_field.defined AND bug - AND !field.visibility_value.is_set_on_bug(bug) -%] +[% IF bug AND !field.is_visible_on_bug(bug) %] [% SET hidden = 1 %] [% END %] |