Bug 7889 [Search errors] Use standard style for errors and messages
There are two instances in the templates where markup is defined for displaying search errors. I've never seen these appear and I have no idea what kind of error might trigger it, but now it will display correctly. Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
This commit is contained in:
parent
723734513b
commit
ed1382a87a
|
|
@ -29,11 +29,7 @@
|
|||
[% END %]
|
||||
|
||||
[% IF ( query_error ) %]
|
||||
<br /><br />
|
||||
<b>Error:</b>
|
||||
<span class="problem">
|
||||
[% query_error %]
|
||||
</span>
|
||||
<div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
|
||||
[% END %]
|
||||
|
||||
[% IF ( total ) %]
|
||||
|
|
|
|||
|
|
@ -318,11 +318,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () {
|
|||
[% END %]
|
||||
|
||||
[% IF ( query_error ) %]
|
||||
<br /><br />
|
||||
Error:
|
||||
<span class="problem">
|
||||
[% query_error %]
|
||||
</span>
|
||||
<div class="dialog alert"><p><strong>Error:</strong> [% query_error %]</p></div>
|
||||
[% END %]
|
||||
|
||||
<!-- Search Results Table -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue