Bugzilla – Attachment 7423 Details for
Bug 7147
Style Z39.50 search errors according to style patterns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7147 - Style Z39.50 search errors according to style patterns
Bug-7147---Style-Z3950-search-errors-according-to-.patch (text/plain), 3.44 KB, created by
Owen Leonard
on 2012-02-02 18:01:59 UTC
(
hide
)
Description:
Bug 7147 - Style Z39.50 search errors according to style patterns
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-02-02 18:01:59 UTC
Size:
3.44 KB
patch
obsolete
>From 12d7cde5dd5833167c512c51c19f9354e10c9c91 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 2 Feb 2012 12:59:22 -0500 >Subject: [PATCH] Bug 7147 - Style Z39.50 search errors according to style patterns >Content-Type: text/plain; charset="utf-8" > >Styles Z39.50 errors and messages in the standard style. >--- > .../prog/en/modules/acqui/z3950_search.tt | 14 ++++++++++---- > .../prog/en/modules/cataloguing/z3950_search.tt | 18 ++++++++++-------- > 2 files changed, 20 insertions(+), 12 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >index 1f2ad60..3ce3e63 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/z3950_search.tt >@@ -156,13 +156,19 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > </table> > [% ELSE %] > [% IF ( emptyserverlist ) %] >- You didn't select any Z39.50 target. >+ <div class="dialog alert">You didn't select any Z39.50 target.</div> > [% ELSE %] >- [% FOREACH errcon IN errconn %] >- Connection failed to [% errcon.server %] >+ [% IF ( errconn ) %] >+ <div class="dialog alert"> >+ <ul> >+ [% FOREACH errcon IN errconn %] >+ <li>Connection failed to [% errcon.server %]</li> >+ [% END %] >+ </ul> >+ </div> > [% END %] > [% END %] >- <p>Nothing found. <a href="javascript: history.back()">Try another search</a>.</p> >+ <div class="dialog message">Nothing found. <a href="javascript: history.back()">Try another search</a>.</div> > [% END %] > > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >index 6eb4b50..7775f1f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/z3950_search.tt >@@ -162,14 +162,16 @@ tr.selected { background-color : #FFFFCC; } tr.selected td { background-color : > </table> > <p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p> > [% ELSE %] >- [% IF ( emptyserverlist ) %] >- You didn't select any Z39.50 target. >- [% ELSE %] >- [% FOREACH errcon IN errconn %] >- Connection failed to [% errcon.server %] >- [% END %] >- [% END %] >- <p>Nothing found.</p> >+ [% IF ( errconn ) %] >+ <div class="dialog alert"> >+ <ul> >+ [% FOREACH errcon IN errconn %] >+ <li>Connection failed to [% errcon.server %]</li> >+ [% END %] >+ </ul> >+ </div> >+ [% END %] >+ <div class="dialog message">Nothing found.</div> > <p><form method="get" action="/cgi-bin/koha/cataloguing/z3950_search.pl"><input type="hidden" name="biblionumber" value="[% biblionumber %]"/><input type="hidden" name="frameworkcode" value="[% frameworkcode %]"/><input type="submit" value="Try Another Search"/></form></p> > [% END %] > >-- >1.7.3
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 7147
:
6164
|
7423
|
7472