LP1983020-Bootstrap opac: Electronic links pagination button.
authorGarry Collum <gcollum@gmail.com>
Fri, 5 Aug 2022 13:27:33 +0000 (13:27 +0000)
committerGalen Charlton <gmc@equinoxOLI.org>
Mon, 30 Jan 2023 14:59:02 +0000 (09:59 -0500)
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 <gcollum@gmail.com>
Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca>
Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2
Open-ILS/src/templates-bootstrap/opac/parts/record/summary.tt2

index 479d0b9..dc5ee8c 100755 (executable)
@@ -380,4 +380,5 @@ END; # FOREACH bib
                         </div>
             [%- END %]
         [%- END %]
+</div>
 [% END %]
index ca6923b..679b2f9 100755 (executable)
@@ -556,9 +556,10 @@ ctx.metalinks.push('
                         [%- IF attrs.gtin13; '
                         <meta property="gtin13" content="' _ attrs.gtin13 _ '" />'; END; %]
                         [%- IF num_uris == 1 %]</p>[% ELSE %]</li>[% END %]
-                [%- END; END; %]
+                [%- END; %]
                 [%- IF num_uris > 1 %]</ul>[% END %]
         </div>
+        [%- END; %]
         [%
         IF ebook_api.enabled == 'true';
         INCLUDE "opac/parts/ebook_api/avail.tt2";