diff options
Diffstat (limited to 'template')
-rw-r--r-- | template/en/default/bug/show.xml.tmpl | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index 8b29537a4..6c950a2bf 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -65,10 +65,29 @@ [% IF displayfields.attachment %] [% FOREACH a = bug.attachments %] [% NEXT IF a.isprivate && !UserInGroup(Param("insidergroup")) %] - <attachment> + <attachment + [% IF a.isobsolete %] + isobsolete="1" + [% END %] + [% IF a.ispatch %] + ispatch="1" + [% END %] + > <attachid>[% a.attachid %]</attachid> <date>[% a.date FILTER time FILTER xml %]</date> <desc>[% a.description FILTER xml %]</desc> + <ctype>[% a.contenttype FILTER xml %]</ctype> + [% FOREACH flag = a.flags %] + <flag name="[% flag.type.name FILTER xml %]" + status="[% flag.status FILTER xml %]" + [% IF flag.setter %] + setter="[% flag.setter.email FILTER xml %]" + [% END %] + [% IF flag.status == "?" && flag.requestee %] + requestee="[% flag.requestee.email FILTER xml %]" + [% END %] + /> + [% END %] </attachment> [% END %] [% END %] |