summaryrefslogtreecommitdiffstats
path: root/template/en/default
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-07-27 01:39:42 +0200
committerlpsolit%gmail.com <>2006-07-27 01:39:42 +0200
commit106207708880e72b247b12b9025bd6a3d3f94b57 (patch)
tree312b3975962d56510a34e47eff52c4c583b3365f /template/en/default
parent82ade31e91fcc0bb83980a68bc605b0e7e0be453 (diff)
downloadbugzilla-106207708880e72b247b12b9025bd6a3d3f94b57.tar.gz
bugzilla-106207708880e72b247b12b9025bd6a3d3f94b57.tar.xz
Bug 333407: file_too_large error should mention AttachURL when enabled - Patch by Frédéric Buclin <LpSolit@gmail.com> r=timeless a=myk
Diffstat (limited to 'template/en/default')
-rw-r--r--template/en/default/global/user-error.html.tmpl13
1 files changed, 9 insertions, 4 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl
index 6b9390701..bd50bdcd7 100644
--- a/template/en/default/global/user-error.html.tmpl
+++ b/template/en/default/global/user-error.html.tmpl
@@ -435,10 +435,15 @@
kilobytes (KB) in size. Non-patch attachments cannot be more than
[%+ Param('maxattachmentsize') %] KB. <br>
We recommend that you store your attachment elsewhere on the web,
- and then insert a link to it in a comment, or in the URL field
- for this [% terms.bug %]. Alternately, if your attachment is an image,
- you could convert it to a compressible format like JPG or PNG and try
- again.
+ [% IF Param("allow_attach_url") %]
+ and then specify the URL to this file on the attachment
+ creation page in the <b>AttachURL</b> field.
+ [% ELSE %]
+ and then insert the URL to it in a comment, or in the URL field
+ for this [% terms.bug %].
+ [% END %]
+ <p>Alternately, if your attachment is an image, you could convert
+ it to a compressible format like JPG or PNG and try again.
[% ELSIF error == "flag_not_multiplicable" %]
[% docslinks = {'flags-overview.html' => 'An overview on Flags',