From 6438ffa829ab0751756f53cc2eca719f95f343af Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Feb 2014 14:27:14 +0100 Subject: [PATCH] Bug 11256: Opac: Set a number of items to display on a biblio detail page - bootstrap This patch adds the changes for the bootstrap theme. See test plan in the previous patch. Signed-off-by: Chris Cormack Signed-off-by: Kyle M Hall --- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 13 ++++++------- 1 files changed, 6 insertions(+), 7 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 46f73db..64821b9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -517,7 +517,7 @@ [% ELSE %]
  • [% END %] - [% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] ( [% itemloop.size || 0 %] ) + [% IF SeparateHoldings %][% LoginBranchname %] holdings[% ELSE %]Holdings[% END %] [% UNLESS too_many_items %] ( [% itemloop.size || 0 %] )[% END %]
  • [% IF (SeparateHoldings) %]
  • Other holdings ( [% otheritemloop.size || 0 %] )
  • @@ -618,12 +618,11 @@
    - [% IF ( itemloop.size ) %] - [% IF ( lotsofitems ) %] -

    This record has many physical items. Click here to view them all.

    - [% ELSE %] - [% INCLUDE items_table items=itemloop tab="holdings" %] - [% END %] + [% IF too_many_items %] +

    This record has many physical items ([% items_count %]). Click here to view them all.

    + [% ELSIF ( itemloop.size ) %] + [% INCLUDE items_table items=itemloop tab="holdings" %] + [% IF holds_count.defined || priority %]
    [% IF holds_count.defined %] -- 1.7.2.5