Bugzilla – Attachment 166663 Details for
Bug 35961
Modal include missing for catalog concerns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35961: Add missing includes
Bug-35961-Add-missing-includes.patch (text/plain), 2.01 KB, created by
David Nind
on 2024-05-14 01:29:29 UTC
(
hide
)
Description:
Bug 35961: Add missing includes
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-14 01:29:29 UTC
Size:
2.01 KB
patch
obsolete
>From 74a52e4936398d1cce140375cf0e53120497b74a Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >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 <david@davidnind.com> >--- > .../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 @@ > </div> <!-- / .container-fluid --> > </div> <!-- / .main --> > >+[% 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 @@ > </div> <!-- / .container-fluid --> > </div> <!-- / .main --> > >+[% 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 %] > <script> > $(document).ready(function(){ > var loaded = 0; >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35961
:
166637
|
166658
|
166663
|
166664
|
166774
|
166775