From 4a7bb58b1daf5edc47581f17b3dfef1e7beac601 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Tue, 27 Aug 2013 13:14:12 -0400 Subject: [PATCH] Bug 10626: (follow-up) replace another use of KohaBranchName Signed-off-by: Katrin Fischer To test: Make sure - independentbranches is turned on - Your user doesn't have superlibrarian permission Then - Try to check out an item with home and holding branch != logged in branch Patch works alright. Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 81ea2b613a..3596767822 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -1,4 +1,4 @@ -[% USE KohaBranchName %] +[% USE Branches %] [% USE KohaDates %] [% IF ( export_remove_fields OR export_with_csv_profile ) %] [% SET exports_enabled = 1 %] @@ -405,7 +405,7 @@ var MSG_EXPORT_SELECT_CHECKOUTS = _("You must select checkout(s) to export"); [% END %] [% IF ( ITEMNOTSAMEBRANCH ) %] -
  • This item belongs to [% itemhomebranch | $KohaBranchName %] and cannot be checked out from this location.
  • +
  • This item belongs to [% Branches.GetName( itemhomebranch ) %] and cannot be checked out from this location.
  • [% END %] [% IF ( USERBLOCKEDREMAINING ) %] -- 2.39.5