From: Owen Leonard Date: Thu, 2 Feb 2012 17:59:22 +0000 (-0500) Subject: Bug 7147 - Style Z39.50 search errors according to style patterns X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=8ec2e22a7ade4b303bef27241b544d9bdc701f43;p=koha.git 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 --- 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 %]