From 106207708880e72b247b12b9025bd6a3d3f94b57 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 26 Jul 2006 23:39:42 +0000 Subject: Bug 333407: file_too_large error should mention AttachURL when enabled - Patch by Frédéric Buclin r=timeless a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/user-error.html.tmpl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'template/en/default/global') 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.
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 AttachURL field. + [% ELSE %] + and then insert the URL to it in a comment, or in the URL field + for this [% terms.bug %]. + [% END %] +

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', -- cgit v1.2.3-24-g4f1b