diff options
author | Byron Jones <glob@mozilla.com> | 2015-07-21 06:58:36 +0200 |
---|---|---|
committer | Byron Jones <glob@mozilla.com> | 2015-07-21 06:58:36 +0200 |
commit | ec9b5fd81dc74c7f69d221fa529be1c2543a12a0 (patch) | |
tree | b795db3ec24e4426786c9d325af4bd09d53adddc /template/en/default/global | |
parent | dc8e2b4c3e3a9a14c65f25ba59b4415cdf00c7e2 (diff) | |
download | bugzilla-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.tmpl | 6 |
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. |