Bugzilla – Attachment 166774 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.07 KB, created by
Nick Clemens (kidclamp)
on 2024-05-15 12:38:14 UTC
(
hide
)
Description:
Bug 35961: Add missing includes
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2024-05-15 12:38:14 UTC
Size:
2.07 KB
patch
obsolete
>From 9d468613ee3abee46fc24973fb2743533c56b643 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> >Signed-off-by: Nick Clemens <nick@bywatersolutions.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 3259fdb8450..171796e8a06 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 0a0d42e0e5f..83f2a091cdc 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