From 5fdbfcf6163af5ce475488eaf897541bfd14e97c 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 Signed-off-by: Jonathan Druart --- 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 09e0f0e8dc..7372ce3010 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.39.5