summaryrefslogtreecommitdiffstats
path: root/template/en/default/global
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-07-21 06:58:36 +0200
committerByron Jones <glob@mozilla.com>2015-07-21 06:58:36 +0200
commitec9b5fd81dc74c7f69d221fa529be1c2543a12a0 (patch)
treeb795db3ec24e4426786c9d325af4bd09d53adddc /template/en/default/global
parentdc8e2b4c3e3a9a14c65f25ba59b4415cdf00c7e2 (diff)
downloadbugzilla-ec9b5fd81dc74c7f69d221fa529be1c2543a12a0.tar.gz
bugzilla-ec9b5fd81dc74c7f69d221fa529be1c2543a12a0.tar.xz
Bug 1180572 - create attachment_storage parameter
Diffstat (limited to 'template/en/default/global')
-rw-r--r--template/en/default/global/user-error.html.tmpl6
1 files changed, 1 insertions, 5 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index f8d8985f9..e8510b134 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -688,13 +688,9 @@
[% ELSIF error == "file_too_large" %]
[% title = "File Too Large" %]
- [%# Convert maxlocalattachment from Mb to Kb %]
- [% max_local = Param('maxlocalattachment') * 1024 %]
- [% max_limit = [Param('maxattachmentsize'), max_local] %]
The file you are trying to attach is [% filesize FILTER html %]
kilobytes (KB) in size. Attachments cannot be more than
- [%# Hack to get the max value between both limits %]
- [%+ max_limit.nsort.last FILTER html %] KB. <br>
+ [%+ Param('maxattachmentsize') FILTER html %] KB. <br>
We recommend that you store your attachment elsewhere
and then paste the URL to this file on the attachment
creation page in the appropriate text field.