From 8ec2e22a7ade4b303bef27241b544d9bdc701f43 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 2 Feb 2012 12:59:22 -0500 Subject: [PATCH] Bug 7147 - Style Z39.50 search errors according to style patterns Styles Z39.50 errors and messages in the standard style. Signed-off-by: Jared Camins-Esakov Signed-off-by: Paul Poulain --- .../prog/en/modules/acqui/z3950_search.tt | 14 ++++++++++---- .../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 1f2ad60b78..3ce3e63cda 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 : [% ELSE %] [% IF ( emptyserverlist ) %] - You didn't select any Z39.50 target. +
You didn't select any Z39.50 target.
[% ELSE %] - [% FOREACH errcon IN errconn %] - Connection failed to [% errcon.server %] + [% IF ( errconn ) %] +
+
    + [% FOREACH errcon IN errconn %] +
  • Connection failed to [% errcon.server %]
  • + [% END %] +
+
[% END %] [% END %] -

Nothing found. Try another search.

+
Nothing found. Try another search.
[% 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 6eb4b50297..7775f1fd43 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 :

[% ELSE %] - [% IF ( emptyserverlist ) %] - You didn't select any Z39.50 target. - [% ELSE %] - [% FOREACH errcon IN errconn %] - Connection failed to [% errcon.server %] - [% END %] - [% END %] -

Nothing found.

+ [% IF ( errconn ) %] +
+
    + [% FOREACH errcon IN errconn %] +
  • Connection failed to [% errcon.server %]
  • + [% END %] +
+
+ [% END %] +
Nothing found.

[% END %] -- 2.39.5