From 11c34baf1a56eed439fd515ed905e388fe2203b2 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 --- 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 e4fb61f..5e76914 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -576,7 +576,7 @@ [% IF ( subscriptionsnumber ) %] [% IF ( defaulttab == 'subscriptions' ) %]
  • [% ELSE %]
  • [% END %] - Subscriptions + Subscriptions ( [% subscriptionsnumber %] )
  • [% END %] @@ -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.1.4