diff options
author | lpsolit%gmail.com <> | 2009-08-05 03:25:44 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-08-05 03:25:44 +0200 |
commit | 8b2db148f30d74283d3a80ebd77691c94a1ca4a7 (patch) | |
tree | 14f8a74732dceef338a3a2c90259d42033ceacf7 /template/en/default/bug | |
parent | c253b28a9ac660be1db0212967342eef2c4f142d (diff) | |
download | bugzilla-8b2db148f30d74283d3a80ebd77691c94a1ca4a7.tar.gz bugzilla-8b2db148f30d74283d3a80ebd77691c94a1ca4a7.tar.xz |
Bug 508416: Bug flags are always displayed in the XML view of bugs - Patch by Frédéric Buclin <LpSolit@gmail.com> r=ghendricks a=LpSolit
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/show.xml.tmpl | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index cb0b10a42..12c813d87 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -62,18 +62,21 @@ [% END %] [%# Bug Flags %] - [% FOREACH type = bug.flag_types %] - [% FOREACH flag = type.flags %] - <flag name="[% type.name FILTER xml %]" - id="[% flag.id FILTER xml %]" - status="[% flag.status FILTER xml %]" - setter="[% flag.setter.login FILTER email FILTER xml %]" - [% IF flag.requestee %] - requestee="[% flag.requestee.login FILTER email FILTER xml %]" + [% IF displayfields.flag %] + [% FOREACH type = bug.flag_types %] + [% FOREACH flag = type.flags %] + <flag name="[% type.name FILTER xml %]" + id="[% flag.id FILTER xml %]" + status="[% flag.status FILTER xml %]" + setter="[% flag.setter.login FILTER email FILTER xml %]" + [% IF flag.requestee %] + requestee="[% flag.requestee.login FILTER email FILTER xml %]" + [% END %] + /> [% END %] - /> [% END %] [% END %] + [% IF displayfields.long_desc %] [% FOREACH c = bug.longdescs %] [% NEXT IF c.isprivate && !user.in_group(Param("insidergroup")) %] |