diff options
author | lpsolit%gmail.com <> | 2005-09-07 21:05:10 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-09-07 21:05:10 +0200 |
commit | 25385f53b2dc79bf807f6fbef2f0f73491f83445 (patch) | |
tree | 96cfb0bf9255432dfb27c6de458caca8e8e3deaa /template/en/default/bug | |
parent | e679c1864efe76002b2b202dfbaa42acbba516a0 (diff) | |
download | bugzilla-25385f53b2dc79bf807f6fbef2f0f73491f83445.tar.gz bugzilla-25385f53b2dc79bf807f6fbef2f0f73491f83445.tar.xz |
Bug 302669 (2nd part): show_bug.cgi?ctype=xml should allow the option of exporting attachment data - Patch by Greg Hendricks <ghendricks@novell.com> r/a=myk
Diffstat (limited to 'template/en/default/bug')
-rw-r--r-- | template/en/default/bug/knob.html.tmpl | 2 | ||||
-rw-r--r-- | template/en/default/bug/show.xml.tmpl | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/template/en/default/bug/knob.html.tmpl b/template/en/default/bug/knob.html.tmpl index 2ade9a373..c76251ae9 100644 --- a/template/en/default/bug/knob.html.tmpl +++ b/template/en/default/bug/knob.html.tmpl @@ -170,6 +170,8 @@ | <a href="show_bug.cgi?format=multiple&id=[% bug.bug_id %]">Format For Printing</a> | + <a href="show_bug.cgi?ctype=xml&id=[% bug.bug_id %]">XML</a> + | <a href="enter_bug.cgi?cloned_bug_id=[% bug.bug_id %]">Clone This [% terms.Bug %]</a> [%# Links to more things users can do with this bug. %] diff --git a/template/en/default/bug/show.xml.tmpl b/template/en/default/bug/show.xml.tmpl index 2555600ed..0a0966890 100644 --- a/template/en/default/bug/show.xml.tmpl +++ b/template/en/default/bug/show.xml.tmpl @@ -77,6 +77,9 @@ <date>[% a.attached FILTER time FILTER xml %]</date> <desc>[% a.description FILTER xml %]</desc> <ctype>[% a.contenttype FILTER xml %]</ctype> + [% IF displayfields.attachmentdata %] + <data>[% a.data FILTER base64 %]</data> + [% END %] [% FOREACH flag = a.flags %] <flag name="[% flag.type.name FILTER xml %]" status="[% flag.status FILTER xml %]" |