]> 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:16 +0000 (06:32 +0000)
committerjocuri%softhome.net <>
Wed, 24 Nov 2004 06:32:16 +0000 (06:32 +0000)
template/en/default/global/user-error.html.tmpl

index addd538adf889c4b785a06ac3d7685595e55bf90..102ab67acf76366d3f3fb3e6e5a527ae2c453ef1 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'" %]