From 128218230d7c43f7f574e1ad8b23b3564e3341b1 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 14 Nov 2003 07:44:06 +0000 Subject: Bug 219358 - Make attachments with all supported MIME types viewable in the edit page. Patch by gerv; r=kiko, r,a=justdave. --- template/en/default/attachment/edit.html.tmpl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'template/en') diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index 3de65766a..fba79ee25 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -270,8 +270,13 @@ [% ELSE %]

- Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*. - Download the attachment instead. + Attachment is not viewable in your browser because its MIME type + ([% contenttype FILTER html %]) is not one that your browser is + able to display. +

+

+ Download + the attachment.

[% END %] -- cgit v1.2.3-24-g4f1b