Bugzilla – Attachment 166637 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), 1.97 KB, created by
Martin Renvoize (ashimema)
on 2024-05-13 13:44:51 UTC
(
hide
)
Description:
Bug 35961: Add missing includes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-13 13:44:51 UTC
Size:
1.97 KB
patch
obsolete
>From 0ac5a42ff90a7d6fb58edcca37e015f8f54ed9f2 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. >--- > .../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.45.0
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