]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 333407: file_too_large error should mention AttachURL when enabled - Patch by...
authorlpsolit%gmail.com <>
Wed, 26 Jul 2006 23:39:42 +0000 (23:39 +0000)
committerlpsolit%gmail.com <>
Wed, 26 Jul 2006 23:39:42 +0000 (23:39 +0000)
template/en/default/global/user-error.html.tmpl

index 6b939070120b07ec6517fed25e54ac48e76323e0..bd50bdcd7b2bd0050ca77dc50cfe8fc785001ab9 100644 (file)
     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',