[%# 1.0@bugzilla.org %] [%# The contents of this file are subject to the Mozilla Public # License Version 1.1 (the "License"); you may not use this file # except in compliance with the License. You may obtain a copy of # the License at http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS # IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or # implied. See the License for the specific language governing # rights and limitations under the License. # # The Original Code is the Bugzilla Bug Tracking System. # # The Initial Developer of the Original Code is Netscape Communications # Corporation. Portions created by Netscape are # Copyright (C) 1998 Netscape Communications Corporation. All # Rights Reserved. # # Contributor(s): Myk Melez # Frédéric Buclin #%] [% PROCESS global/variables.none.tmpl %] [%# Define strings that will serve as the title and header of this page %] [% title = BLOCK %] Edit Attachment [% attachment.id %] for [% terms.Bug %] [%+ attachment.bug_id %] [% END %] [% h1 = BLOCK %] Edit Attachment [% attachment.id %] for [%+ GetBugLink(attachment.bug_id, "$terms.Bug ${attachment.bug_id}") %] [% END %] [% h2 = BLOCK %][% bugsummary FILTER html %][% END %] [% PROCESS global/header.html.tmpl title = title h1 = h1 h2 = h2 style = " table.attachment_info th { text-align: right; vertical-align: top; } table.attachment_info td { text-align: left; vertical-align: top; } #noview { text-align: left; vertical-align: middle; } table#flags th, table#flags td { font-size: small; vertical-align: baseline; text-align: left; } " %]
[% IF isviewable %] [% ELSIF attachment.isurl %] [% ELSE %] [% END %]
Description:

[% IF attachment.isurl %]

[% ELSE %] Filename:

Size: [% attachment.datasize FILTER unitconvert %]
MIME Type:

[% END %]
[% IF (Param("insidergroup") && UserInGroup(Param("insidergroup"))) %] private

[% ELSE %]
[% END %] [% IF flag_types.size > 0 %] [% PROCESS "flag/list.html.tmpl" bug_id = attachment.bug_id attach_id = attachment.id %]
[% END %]
Comment (on the [% terms.bug %]):



Actions: View [% IF attachment.ispatch && patchviewerinstalled %] | Diff [% END %]
[% IF attachment.datasize < 120 %] [% attachment.data FILTER html %] [% ELSE %] [% attachment.data FILTER truncate(80) FILTER html %]  ... [% attachment.data.match(".*(.{20})$").0 FILTER html %] [% END %]

Attachment is not viewable in your browser because its MIME type ([% attachment.contenttype FILTER html %]) is not one that your browser is able to display.

Download the attachment.

Attachments on this [% terms.Bug %]: [% FOREACH a = attachments %] [% IF a == attachment.id %] [% a %] [% ELSE %] [% a %] [% END %] [% " |" UNLESS loop.last() %] [% END %]

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