summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-06-27 04:00:02 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-27 04:00:02 +0200
commitc46b694c342da3c1b4e2bb4394ff2886b9bd44f1 (patch)
tree0950c6e761c3854c04f15127ddb541821c0fc680 /template/en/default
parent5191f5508b12d2e135374a0727e1ed82e8345604 (diff)
downloadbugzilla-c46b694c342da3c1b4e2bb4394ff2886b9bd44f1.tar.gz
bugzilla-c46b694c342da3c1b4e2bb4394ff2886b9bd44f1.tar.xz
Bug 1471417 - Remove XUL from attachment Content Type options; add SVG to standard options; mark PDF viewable
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/attachment/createformcontents.html.tmpl1
-rw-r--r--template/en/default/attachment/show-multiple.html.tmpl4
2 files changed, 3 insertions, 2 deletions
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 %]
<div id="hidden_obsolete_message">
- Obsolete attachments are hidden. To view all attachments (including obsolete)
+ Obsolete attachments are hidden. To view all attachments (including obsolete)
<a href="attachment.cgi?bugid=[% bug.id FILTER html %]&amp;action=viewall">click here</a>.
</div>
[% END %]
@@ -106,7 +106,7 @@
[% END %]
[% ELSE %]
<p><b>
- 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.
<a href="attachment.cgi?id=[% a.id %]">Download the attachment instead</a>.
</b></p>
[% END %]