Bug 38714: doc-head-close.inc [opac]

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2025-01-13 10:46:55 +01:00 committed by Katrin Fischer
parent df00647882
commit dbf90f2cfc
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 6 additions and 0 deletions

View File

@ -46,17 +46,23 @@
[% Asset.css("css/print.css", { media = "print" }) | $raw %]
[% END %]
[% IF ( Koha.Preference('OPACUserCSS') ) %]
<!-- prettier-ignore-start -->
<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>
<!-- prettier-ignore-end -->
[% END %]
[% IF Branches.GetBranchSpecificCSS( Branches.GetLoggedInBranchcode() || default_branch) %]
<!-- prettier-ignore-start -->
<style>
[% Branches.GetBranchSpecificCSS( Branches.GetLoggedInBranchcode() || default_branch) | $raw %]
</style>
<!-- prettier-ignore-end -->
[% END %]
[% IF SCO_login %]
[% SET SCOUserCSS = Koha.Preference('SCOUserCSS') %]
[% IF SCOUserCSS %]
<!-- prettier-ignore-start -->
<style>[% SCOUserCSS | $raw %]</style>
<!-- prettier-ignore-end -->
[% END %]
[% END %]
[% IF ( Koha.Preference('OPACBaseURL') ) %]