From c2154173af06efaf007e0cdf444f885275d61f1b Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 13 May 2024 14:43:53 +0100 Subject: [PATCH] Bug 35961: Add missing includes This patch adds the missing includes for the 'Catalog concerns' modal on opac-MARCdetail and opac-ISBDdetail views. Signed-off-by: David Nind Signed-off-by: Nick Clemens Signed-off-by: Katrin Fischer --- .../opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt | 10 +++++++++- .../opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt index 3259fdb845..171796e8a0 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-ISBDdetail.tt @@ -39,5 +39,13 @@ +[% IF Koha.Preference('OpacCatalogConcerns') %] + [% INCLUDE 'modals/catalog_concern.inc' %] +[% END %] + [% INCLUDE 'opac-bottom.inc' %] -[% BLOCK jsinclude %][% END %] +[% BLOCK jsinclude %] + [% IF Koha.Preference('OpacCatalogConcerns') %] + [% Asset.js("js/modals/catalog_concern.js") | $raw %] + [% END %] +[% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt index 0a0d42e0e5..83f2a091cd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-MARCdetail.tt @@ -169,8 +169,15 @@ +[% IF Koha.Preference('OpacCatalogConcerns') %] + [% INCLUDE 'modals/catalog_concern.inc' %] +[% END %] + [% INCLUDE 'opac-bottom.inc' %] [% BLOCK jsinclude %] +[% IF Koha.Preference('OpacCatalogConcerns') %] + [% Asset.js("js/modals/catalog_concern.js") | $raw %] +[% END %]