From 3cf27546c945ac6990048fc58362e6c0246ec8f3 Mon Sep 17 00:00:00 2001 From: Janusz Kaczmarek Date: Tue, 17 May 2011 18:21:47 +0300 Subject: [PATCH] Bug 6353: Erroneous prefixes before the singleBranchMode preference removed Patch resent due to errors in formating in previous e-mail Signed-off-by: Katrin Fischer Checked: - library facet - library limit on advanced search - library shown in item level hold table Signed-off-by: Chris Cormack --- koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt | 2 +- koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc index 4931283cf0..21290265b7 100644 --- a/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc +++ b/koha-tmpl/opac-tmpl/prog/en/includes/opac-facets.inc @@ -15,7 +15,7 @@ [% IF ( facets_loo.type_label_Topics ) %]Topics[% END %] [% IF ( facets_loo.type_label_Places ) %]Places[% END %] [% IF ( facets_loo.type_label_Series ) %]Series[% END %] -[% UNLESS ( facets_loo.singleBranchMode ) %] +[% UNLESS ( singleBranchMode ) %] [% IF ( facets_loo.type_label_Libraries ) %]Libraries[% END %] [% END %]
    diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt index 4480338e24..25e9a3ad6a 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-reserve.tt @@ -452,7 +452,7 @@ Item Type [% END %] Barcode - [% UNLESS ( bibitemloo.singleBranchMode ) %] + [% UNLESS ( singleBranchMode ) %] Home Library Last Location [% END %] diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt index ed7218e4dc..1004e0c973 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt @@ -441,14 +441,14 @@ $(document).ready(function(){ Copies available: [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %] [% UNLESS ( available_items_loo.hideatopac ) %] - [% IF ( available_items_loo.singleBranchMode ) %] + [% IF ( singleBranchMode ) %] [% available_items_loo.location %] [% ELSE %] [% available_items_loo.branchname %] [% END %] [% IF ( OPACItemsResultsDisplay ) %] - [% UNLESS ( available_items_loo.singleBranchMode ) %][% available_items_loo.location %][% END %] + [% UNLESS ( singleBranchMode ) %][% available_items_loo.location %][% END %] [% IF ( available_items_loo.itemcallnumber ) %][[% available_items_loo.itemcallnumber %]][% END %] [% END %] ([% available_items_loo.count %]), -- 2.39.5