From d437c0fbdbcf6223f3087318f7e3188f581cda6d Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" Date: Sun, 16 Jan 2005 20:34:52 +0000 Subject: [PATCH] Patch for bug 171478: XML bug output should include attachment flags; patch by Colin S. Ogilvie , r=wurblzap, a=myk. --- webtools/bugzilla/bugzilla.dtd | 13 +++++++++++- .../template/en/default/bug/show.xml.tmpl | 21 ++++++++++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) diff --git a/webtools/bugzilla/bugzilla.dtd b/webtools/bugzilla/bugzilla.dtd index 82ccfff18c1..f9ced933b68 100644 --- a/webtools/bugzilla/bugzilla.dtd +++ b/webtools/bugzilla/bugzilla.dtd @@ -47,9 +47,20 @@ - + + + + diff --git a/webtools/bugzilla/template/en/default/bug/show.xml.tmpl b/webtools/bugzilla/template/en/default/bug/show.xml.tmpl index 8b29537a43c..6c950a2bf75 100644 --- a/webtools/bugzilla/template/en/default/bug/show.xml.tmpl +++ b/webtools/bugzilla/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")) %] - + [% a.attachid %] [% a.date FILTER time FILTER xml %] [% a.description FILTER xml %] + [% a.contenttype FILTER xml %] + [% FOREACH flag = a.flags %] + + [% END %] [% END %] [% END %]