From: Garry Collum Date: Fri, 5 Aug 2022 13:27:33 +0000 (+0000) Subject: LP1983020-Bootstrap opac: Electronic links pagination button. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b687b99dc674da85f0e0fc9aefdb2fcb131d29f2;p=evergreen%2Ftadl.git LP1983020-Bootstrap opac: Electronic links pagination button. Fixes the placement of the previous and next buttons in the Bootstrap Opac when the record contains electronic links and physical items. To Test: 1. To fully test a record with physical items, a record with electronic links, and a record with both physical items and electronic links need to be viewed in the opac. 2. On each of these records notice the placement of the previous or next buttons. 3. Apply the patch. 4. View the 3 types of records after the patch is applied. Signed-off-by: Garry Collum Signed-off-by: Jeff Davis --- diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 index 9d9251346e..6e02890210 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 @@ -386,4 +386,5 @@ END; # FOREACH bib [%- END %] + [% END %] diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 index 2b0533fa4e..e41c27035f 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2 @@ -548,9 +548,10 @@ ctx.metalinks.push(' [%- IF attrs.gtin13; ' '; END; %] [%- IF num_uris == 1 %]

[% ELSE %][% END %] - [%- END; END; %] + [%- END; %] [%- IF num_uris > 1 %][% END %] + [%- END; %] [% IF ebook_api.enabled == 'true'; INCLUDE "opac/parts/ebook_api/avail.tt2";