[% 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 %] [% ELSE %] [% a.description %] [% END %] [% IF a.ispatch %] patch [% ELSE %] [% a.mimetype %] [% 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 %]