[%# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. # # This Source Code Form is "Incompatible With Secondary Licenses", as # defined by the Mozilla Public License, v. 2.0. #%] [% filtered_summary = bugsummary FILTER html %] [% header = BLOCK %]View All Attachments for [%+ "$terms.Bug $bug.id" FILTER bug_link(bug) FILTER none %][% END %] [% title = BLOCK %] View All Attachments for [% terms.Bug %] [%+ bug.bug_id FILTER html %] [% END %] [% PROCESS global/header.html.tmpl title = title header = header subheader = filtered_summary style_urls = ['skins/standard/attachment.css'] %] [% IF hide_obsolete %]
Obsolete attachments are hidden. To view all attachments (including obsolete) click here.
[% END %]
[% FOREACH a = attachments %]
Attachment #[% a.id %]
[% a.description FILTER html FILTER obsolete(a.isobsolete) %] [% IF a.ispatch %] patch [% ELSE %] [% a.contenttype FILTER html %] [% END %] [% a.attached FILTER time %] [% a.datasize FILTER unitconvert %] [% IF a.flags.size == 0 %] no flags [% ELSE %] [% FOREACH flag = a.flags %] [% flag.setter.nick FILTER html %]: [%+ flag.type.name FILTER html %][% flag.status %] [% IF flag.status == "?" && flag.requestee %] ([% flag.requestee.nick FILTER html %]) [% END %] [% ", " IF !loop.last %] [% END %] [% END %] Details
[% IF a.is_viewable %] [% IF a.contenttype == "text/html" %] [%# For security reasons (clickjacking, embedded scripts), we never # render HTML pages from here. The source code is displayed instead. %] [% INCLUDE global/textarea.html.tmpl minrows = 10 cols = 80 defaultcontent = a.data readonly = 'readonly' classes = 'viewall_frame' %] [% ELSE %] [% END %] [% ELSE %]

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

[% END %]


[% END %] [% PROCESS global/footer.html.tmpl %]