From 458e07928505570affd43bd4c8dbe8e1c170a409 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 5 Nov 2018 13:08:52 +0000 Subject: [PATCH] Bug 8630: (RM follow-up) Remove loop.odd reference and fix filters Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 2 +- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt | 4 ++-- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index 525e54a6a2..b6cdad2784 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -140,7 +140,7 @@
[% END %] [% IF ( AdlibrisEnabled && normalized_isbn ) %] - Adlibris cover image + Adlibris cover image [% END %] [% IF ( AmazonCoverImages ) %]
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 bef4e25cc8..bd0a838942 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt @@ -363,7 +363,7 @@ [% SET MaxSearchResultsItemsPerRecordStatusCheck = Koha.Preference('MaxSearchResultsItemsPerRecordStatusCheck') %] [% FOREACH SEARCH_RESULT IN SEARCH_RESULTS %] - [% IF ( loop.odd ) %][% ELSE %][% END %] + [% IF ( AmazonCoverImages || LocalCoverImages || AdlibrisEnabled ) %] [% IF ( LocalCoverImages) %] @@ -372,7 +372,7 @@ [% END %] [% IF ( AdlibrisEnabled && SEARCH_RESULT.normalized_isbn ) %] - Adlibris cover image + Adlibris cover image [% END %] [% IF ( AmazonCoverImages ) %] [% IF ( SEARCH_RESULT.normalized_isbn ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index efd92743e9..7c2f027e53 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -61,7 +61,7 @@ [% END %] [% IF ( AdlibrisEnabled && normalized_isbn ) %] - Cover image + Cover image [% END %] [% IF ( OPACAmazonCoverImages ) %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index caacac5dd4..3c8a273795 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -213,7 +213,7 @@ [% IF ( ISSUE.overdue ) %][% ELSE %][% END %] [% IF ( JacketImages || AdlibrisEnabled ) %] [% IF ( AdlibrisEnabled && ISSUE.normalized_isbn ) %] - Adlibris cover image + Adlibris cover image [% END %] [% IF ( OPACAmazonCoverImages ) %] [% IF ( ISSUE.normalized_isbn ) %] @@ -491,7 +491,7 @@ [% IF ( JacketImages || AdlibrisEnabled ) %] [% IF ( AdlibrisEnabled && OVERDUE.normalized_isbn ) %] - Adlibris cover image + Adlibris cover image [% END %] [% IF ( OPACAmazonCoverImages ) %] [% IF ( OVERDUE.normalized_isbn ) %] -- 2.39.5