mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
Bug 366059: Include the attachment size when viewing bugs in the XML format - Patch by Fr��d��ric Buclin <LpSolit@gmail.com> r=bkor a=myk
This commit is contained in:
parent
5535f707ed
commit
22348b5821
@ -56,7 +56,7 @@
|
||||
<!ELEMENT bug_when (#PCDATA)>
|
||||
<!ELEMENT work_time (#PCDATA)>
|
||||
<!ELEMENT thetext (#PCDATA)>
|
||||
<!ELEMENT attachment (attachid, date, desc, filename?, type?, data?, flag*)>
|
||||
<!ELEMENT attachment (attachid, date, desc, filename?, type?, size?, data?, flag*)>
|
||||
<!ATTLIST attachment
|
||||
isobsolete (0|1) #IMPLIED
|
||||
ispatch (0|1) #IMPLIED
|
||||
@ -67,6 +67,7 @@
|
||||
<!ELEMENT desc (#PCDATA)>
|
||||
<!ELEMENT filename (#PCDATA)>
|
||||
<!ELEMENT type (#PCDATA)>
|
||||
<!ELEMENT size (#PCDATA)>
|
||||
<!ELEMENT data (#PCDATA)>
|
||||
<!ATTLIST data
|
||||
encoding (base64) #IMPLIED
|
||||
|
@ -92,6 +92,7 @@
|
||||
<desc>[% a.description FILTER xml %]</desc>
|
||||
<filename>[% a.filename FILTER xml %]</filename>
|
||||
<type>[% a.contenttype FILTER xml %]</type>
|
||||
<size>[% a.datasize FILTER xml %]</size>
|
||||
[% IF displayfields.attachmentdata %]
|
||||
<data encoding="base64">[% a.data FILTER base64 %]</data>
|
||||
[% END %]
|
||||
|
Loading…
Reference in New Issue
Block a user