From 1162d2c18cc3693fde586b9e235274d444289b79 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Mon, 5 Jun 2023 23:00:43 +0000 Subject: [PATCH] Bug 33902: Move modal inside HTML body To test: -Go Administration > Libraries and add a URL for a branch. -Also add some OPAC info: ( via HTML Customizations ) -Now find a record belonging to that branch and bring up the OPAC detail page. -In the holdings table there should be a link under the 'Current library' column. -Clicking it should bring up a modal. -Make sure the modal pops up correctly, can be dismissed, and the 'Visit web site' link works. Nothing about the appearance or behavior of the page should change. Signed-off-by: David Nind Signed-off-by: David Cook Signed-off-by: Tomas Cohen Arazi (cherry picked from commit e1be2791b807948c85ae48e471594a7c68709e84) Signed-off-by: Matt Blenkinsop --- .../bootstrap/en/modules/opac-detail.tt | 44 ++++++++++--------- 1 file changed, 24 insertions(+), 20 deletions(-) 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 12829a0c8c..d716dfeb70 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1158,6 +1158,27 @@ [% END %] + + + [% INCLUDE 'opac-bottom.inc' %] [%# End of template %] @@ -1417,26 +1438,9 @@ [% END %][%# end of items_table block %] - - +[% IF Koha.Preference('OpacCatalogConcerns') %] + [% INCLUDE 'modals/catalog_concern.inc' %] +[% END %] [% BLOCK jsinclude %] [% INCLUDE 'datatables.inc' %] -- 2.39.2