summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorgerv%gerv.net <>2003-11-14 08:44:06 +0100
committergerv%gerv.net <>2003-11-14 08:44:06 +0100
commit128218230d7c43f7f574e1ad8b23b3564e3341b1 (patch)
tree2991e9f1e5d63017d0d30ffc0099ab311058436f /template/en
parentb16c251e023e0cdfa0c7a1b1c290ece0408b99e0 (diff)
downloadbugzilla-128218230d7c43f7f574e1ad8b23b3564e3341b1.tar.gz
bugzilla-128218230d7c43f7f574e1ad8b23b3564e3341b1.tar.xz
Bug 219358 - Make attachments with all supported MIME types viewable in the edit page. Patch by gerv; r=kiko, r,a=justdave.
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/attachment/edit.html.tmpl9
1 files changed, 7 insertions, 2 deletions
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 %]
<td id="noview" width="50%">
<p><b>
- Attachment cannot be viewed because its MIME type is not either text/*, image/*, or application/vnd.mozilla.*.
- <a href="attachment.cgi?id=[% attachid %]&amp;action=view">Download the attachment instead</a>.
+ Attachment is not viewable in your browser because its MIME type
+ ([% contenttype FILTER html %]) is not one that your browser is
+ able to display.
+ </b></p>
+ <p><b>
+ <a href="attachment.cgi?id=[% attachid %]&amp;action=view">Download
+ the attachment</a>.
</b></p>
</td>
[% END %]