Bugzilla – Attachment 186931 Details for
Bug 40879
Add system preference to enable/disable the “Cite” option in the OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40879: Added syspref to catalog_cite.inc
Bug-40879-Added-syspref-to-catalogciteinc.patch (text/plain), 2.60 KB, created by
Laura Escamilla
on 2025-09-25 18:44:23 UTC
(
hide
)
Description:
Bug 40879: Added syspref to catalog_cite.inc
Filename:
MIME Type:
Creator:
Laura Escamilla
Created:
2025-09-25 18:44:23 UTC
Size:
2.60 KB
patch
obsolete
>From 020865b370346a330a3e485418cf8ce865e26211 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Thu, 25 Sep 2025 18:36:05 +0000 >Subject: [PATCH] Bug 40879: Added syspref to catalog_cite.inc > >--- > .../en/includes/modals/catalog_cite.inc | 36 ++++++++++--------- > 1 file changed, 19 insertions(+), 17 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >index 89b5fa845f..15895d18bd 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/catalog_cite.inc >@@ -1,21 +1,23 @@ > [% USE raw %] >-<!-- Add cite modal --> >-<div class="modal" id="citeModal" tabindex="-1" role="dialog" aria-labelledby="citeLabel" aria-hidden="true"> >- <div class="modal-dialog modal-lg"> >- <div class="modal-content"> >- <div class="modal-header"> >- <h1 class="modal-title" id="citeModalLabel">[% biblio.title | html %]</h1> >- <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> >- </div> >- <div class="modal-body"> >- [% FOREACH system IN cites.keys.sort %] >- <h2>[% system | html %]</h2> >- <p>[% cites.$system | html %]</p> >- [% END %] >- </div> >- <div class="modal-footer"> >- <button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button> >+[% IF Koha.Preference('OpacCiteModal') %] >+ <!-- Add cite modal --> >+ <div class="modal" id="citeModal" tabindex="-1" role="dialog" aria-labelledby="citeLabel" aria-hidden="true"> >+ <div class="modal-dialog modal-lg"> >+ <div class="modal-content"> >+ <div class="modal-header"> >+ <h1 class="modal-title" id="citeModalLabel">[% biblio.title | html %]</h1> >+ <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> >+ </div> >+ <div class="modal-body"> >+ [% FOREACH system IN cites.keys.sort %] >+ <h2>[% system | html %]</h2> >+ <p>[% cites.$system | html %]</p> >+ [% END %] >+ </div> >+ <div class="modal-footer"> >+ <button type="button" class="btn btn-default" data-bs-dismiss="modal">Close</button> >+ </div> > </div> > </div> > </div> >-</div> >+[% END %] >-- >2.39.5
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 40879
:
186928
|
186929
|
186930
|
186931
|
186932
|
186933
|
186935
|
186936
|
186937
|
186938
|
186939
|
186940
|
186941