LP1983020-Bootstrap opac: Electronic links pagination button.
authorGarry Collum <gcollum@gmail.com>
Fri, 5 Aug 2022 13:27:33 +0000 (13:27 +0000)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Fri, 2 Sep 2022 03:19:08 +0000 (20:19 -0700)
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 2b0533f..e41c270 100755 (executable)
@@ -548,9 +548,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";