From 40a987608a4aa0f4c15fe815bbb86022d09f754d Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Wed, 26 Jul 2006 16:39:42 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20333407:=20file=5Ftoo=5Flarge=20error=20sh?= =?UTF-8?q?ould=20mention=20AttachURL=20when=20enabled=20-=20Patch=20by=20?= =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dtimeles?= =?UTF-8?q?s=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@203729 18797224-902f-48f8-a5cc-f745e15eee43 --- .../template/en/default/global/user-error.html.tmpl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl index 6b939070120..bd50bdcd7b2 100644 --- a/mozilla/webtools/bugzilla/template/en/default/global/user-error.html.tmpl +++ b/mozilla/webtools/bugzilla/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',