From acb4d4993cd9d469b83de2e58aea703f27313f93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20V=C3=A9ron?= Date: Tue, 21 Mar 2017 14:52:51 +0100 Subject: [PATCH] Bug 18307 - Branchname is no more displayed in subscription tab wiew This patch restores the branchname in OPAC subscription detail view. Additionally, it adds the subscriptons count to the tab title to make it consistent with the other tab titles. To test: - Search a subscription in OPAC catalog - Go to Subscriptions tab (see screenshot in initial comment) - Verify that library name does not display - Apply patch - Verify that library name displays properly in Subscriptons tab - Verify that the tab title displays the subscriptions count e.g.: Subscriptions (2) Signed-off-by: Claire Gravely Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 218c859..4e0a5e7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -796,7 +796,7 @@

There are [% subscriptionsnumber %] subscription(s) associated with this title.

[% FOREACH subscription IN subscriptions %] [% IF ( subscription.branchcode ) %] -

At library: [% Branches.GetName( subscription.branchname ) %]

+

At library: [% Branches.GetName( subscription.branchcode ) %]

[% ELSE %] [% IF ( subscription.branchcode ) %]

At library: [% subscription.branchcode %]

-- 2.9.3