From c46b694c342da3c1b4e2bb4394ff2886b9bd44f1 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Tue, 26 Jun 2018 22:00:02 -0400 Subject: Bug 1471417 - Remove XUL from attachment Content Type options; add SVG to standard options; mark PDF viewable --- template/en/default/attachment/createformcontents.html.tmpl | 1 + template/en/default/attachment/show-multiple.html.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'template') diff --git a/template/en/default/attachment/createformcontents.html.tmpl b/template/en/default/attachment/createformcontents.html.tmpl index 61ddceac3..efb24e3e9 100644 --- a/template/en/default/attachment/createformcontents.html.tmpl +++ b/template/en/default/attachment/createformcontents.html.tmpl @@ -120,6 +120,7 @@ {type => "image/gif", desc => "GIF image"}, {type => "image/jpeg", desc => "JPEG image"}, {type => "image/png", desc => "PNG image"}, + {type => "image/svg+xml", desc => "SVG image"}, {type => "application/pdf", desc => "PDF document"}, {type => "application/octet-stream", desc => "binary file"}] %] diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl index c28d5dfd6..6a7bb4b9b 100644 --- a/template/en/default/attachment/show-multiple.html.tmpl +++ b/template/en/default/attachment/show-multiple.html.tmpl @@ -35,7 +35,7 @@ %] [% IF hide_obsolete %]
- Obsolete attachments are hidden. To view all attachments (including obsolete) + Obsolete attachments are hidden. To view all attachments (including obsolete) click here.
[% END %] @@ -106,7 +106,7 @@ [% END %] [% ELSE %]

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

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