[% INCLUDE global/header title = "View All Attachments for Bug #$bugid" h1 = "View All Attachments for Bug #$bugid" h2 = bugsummary style = " th { text-align: right; vertical-align: top; } td { text-align: left; vertical-align: top; } td#info { text-align: right; vertical-align: top; } td#actions { text-align: right; vertical-align: bottom; } " %]
[% FOREACH a = attachments %]
Attachment #[% a.attachid %]
[% IF a.isobsolete %] [% a.description FILTER html %] [% ELSE %] [% a.description FILTER html %] [% END %] [% IF a.ispatch %] patch [% ELSE %] [% a.contenttype FILTER html %] [% END %] [% a.date %] [% IF a.statuses.size == 0 %] none [% ELSE %] [% FOREACH s = a.statuses %] [% s %]
[% END %] [% END %]
Edit
[% IF a.isviewable %] [% ELSE %]

Attachment cannot be viewed because its MIME type is not text/*, image/*, or application/vnd.mozilla.*. Download the attachment instead.

[% END %]


[% END %] [% INCLUDE global/footer %]