]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Patch for bug 269294: Do not mention QuickSearch in the error message if not in use...
authorjocuri%softhome.net <>
Wed, 24 Nov 2004 06:32:33 +0000 (06:32 +0000)
committerjocuri%softhome.net <>
Wed, 24 Nov 2004 06:32:33 +0000 (06:32 +0000)
template/en/default/global/user-error.html.tmpl

index b31e702ff53d111e0fc4d8aabd43adba32491536..93c50b85a5f400bacaf2c7a2c9486b8e0dc9b45d 100644 (file)
     
   [% ELSIF error == "invalid_bug_id_or_alias" %]
     [% title = BLOCK %]Invalid [% terms.Bug %] ID[% END %]
-    '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number.
-    [% IF Param("usebugaliases") %]
-      It is neither [% terms.abug %] number nor an alias to [% terms.abug %]
-      number.
-    [% END %]
-    If you are trying to use QuickSearch, you need to enable JavaScript 
-    in your browser. 
+    '[% bug_id FILTER html %]' is not a valid [% terms.bug %] number
+    [% IF Param("usebugaliases") %] nor an alias
+    to [% terms.abug %] number[% END %].
+    <noscript>
+      If you are trying to use QuickSearch, you need to enable
+      JavaScript in your browser.
+    </noscript>
 
   [% ELSIF error == "invalid_changedsince" %]
     [% title = "Invalid 'Changed Since'" %]