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>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit c2154173af)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Martin Renvoize 2024-05-13 14:43:53 +01:00 committed by Fridolin Somers
parent 658bf14d66
commit e90c544841
2 changed files with 16 additions and 1 deletions

View file

@ -39,5 +39,13 @@
</div> <!-- / .container-fluid --> </div> <!-- / .container-fluid -->
</div> <!-- / .main --> </div> <!-- / .main -->
[% IF Koha.Preference('OpacCatalogConcerns') %]
[% INCLUDE 'modals/catalog_concern.inc' %]
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %][% END %] [% BLOCK jsinclude %]
[% IF Koha.Preference('OpacCatalogConcerns') %]
[% Asset.js("js/modals/catalog_concern.js") | $raw %]
[% END %]
[% END %]

View file

@ -169,8 +169,15 @@
</div> <!-- / .container-fluid --> </div> <!-- / .container-fluid -->
</div> <!-- / .main --> </div> <!-- / .main -->
[% IF Koha.Preference('OpacCatalogConcerns') %]
[% INCLUDE 'modals/catalog_concern.inc' %]
[% END %]
[% INCLUDE 'opac-bottom.inc' %] [% INCLUDE 'opac-bottom.inc' %]
[% BLOCK jsinclude %] [% BLOCK jsinclude %]
[% IF Koha.Preference('OpacCatalogConcerns') %]
[% Asset.js("js/modals/catalog_concern.js") | $raw %]
[% END %]
<script> <script>
$(document).ready(function(){ $(document).ready(function(){
var loaded = 0; var loaded = 0;