From: lpsolit%gmail.com <> Date: Wed, 26 Jul 2006 23:39:42 +0000 (+0000) Subject: Bug 333407: file_too_large error should mention AttachURL when enabled - Patch by... X-Git-Tag: bugzilla-2.23.3~224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=106207708880e72b247b12b9025bd6a3d3f94b57;p=thirdparty%2Fbugzilla.git Bug 333407: file_too_large error should mention AttachURL when enabled - Patch by Frédéric Buclin r=timeless a=myk --- diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 6b93907012..bd50bdcd7b 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',