From 6a4b30e543b36e6ae4586207f6f437d5036040be Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 26 Jun 2020 08:30:44 +0000 Subject: [PATCH] Bug 25801: (follow-up) Add Show all items-link on opac-detail As requested by Katrin in QA, it might be helpful to provide a link to return to the regular view with all items. The information about acquisition and holds refers to all items, so I moved it inside the else branch of this block. Signed-off-by: Marcel de Rooy Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++++ 1 file changed, 4 insertions(+) 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 f71d686067..89c684a832 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -586,6 +586,9 @@

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

[% ELSIF ( itemloop.size ) %] [% INCLUDE items_table items=itemloop tab="holdings" table_id="holdingst" %] + [% IF specific_item %] +

Show all items

+ [% ELSE %] [% IF Koha.Preference('OPACAcquisitionDetails') and acquisition_details.total_quantity > 0 %] [% IF acquisition_details.total_quantity == 1 %] 1 item is on order. @@ -607,6 +610,7 @@ [% END %] [% END %] + [% END %] [% ELSE %] [% IF ( ALTERNATEHOLDINGS ) %] [% FOREACH ALTERNATEHOLDING IN ALTERNATEHOLDINGS %] -- 2.11.0