diff options
author | jocuri%softhome.net <> | 2005-01-17 05:34:51 +0100 |
---|---|---|
committer | jocuri%softhome.net <> | 2005-01-17 05:34:51 +0100 |
commit | 1ce889ad699125ad4cab16404b40f0df8fd3bf5b (patch) | |
tree | ee5574df1cda4b221e1e04aee3af7146093834c3 /template/en/default | |
parent | 698c612d21b422d02797dbf30c8bdef2bc0bb9ad (diff) | |
download | bugzilla-1ce889ad699125ad4cab16404b40f0df8fd3bf5b.tar.gz bugzilla-1ce889ad699125ad4cab16404b40f0df8fd3bf5b.tar.xz |
Patch for bug 171478: XML bug output should include attachment flags; patch by Colin S. Ogilvie <colin.ogilvie@gmail.com>, r=wurblzap, a=myk.
Diffstat (limited to 'template/en/default')
-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 %] |