From 719dc345f4d38b1e34ef2318f472e4757709a647 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Tue, 21 Mar 2017 14:52:51 +0100 Subject: [PATCH] Bug 18307 - Branchname is no longer displayed in subscription tab view 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 Signed-off-by: Kyle M Hall (cherry picked from commit c6463c258f644ea5a1983680814eb765f1801283) Signed-off-by: Katrin Fischer Conflicts: koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 b71129504e..331e4f2b7d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -794,8 +794,8 @@

This is a serial

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

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

At library: [% subscription.branchname %]

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

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

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

At library: [% subscription.branchcode %]

-- 2.39.5