Bugzilla – Attachment 9631 Details for
Bug 7889
Use standard style for errors and messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7889 [Search errors] Use standard style for errors and messages
Bug-7889-Search-errors-Use-standard-style-for-erro.patch (text/plain), 1.91 KB, created by
Owen Leonard
on 2012-05-17 18:19:25 UTC
(
hide
)
Description:
Bug 7889 [Search errors] Use standard style for errors and messages
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-05-17 18:19:25 UTC
Size:
1.91 KB
patch
obsolete
>From 40945ab0662121ffb760098209719f17276bb634 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 17 May 2012 12:56:48 -0400 >Subject: [PATCH] Bug 7889 [Search errors] Use standard style for errors and > messages >Content-Type: text/plain; charset="utf-8" > >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. >--- > .../prog/en/modules/acqui/neworderbiblio.tt | 6 +----- > .../prog/en/modules/catalogue/results.tt | 6 +----- > 2 files changed, 2 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >index 6342d33..60feb52 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderbiblio.tt >@@ -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 ) %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index 5af106a..1ebc862 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -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 --> >-- >1.7.9.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7889
:
9629
|
9630
|
9631
|
9632
|
9658
|
9659
|
9660
|
9661
|
11085
|
11105