Bug 38714: prettier-ignore sco/sco-main.tt

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 12:36:33 +01:00 committed by Katrin Fischer
parent cc9ffd6e51
commit ec640b81d5
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 12 additions and 2 deletions

View File

@ -26,13 +26,23 @@
[% ELSE %]
[% Asset.css("css/sco.css") | $raw %]
[% END %]
[% IF ( Koha.Preference('OPACUserCSS') ) %]<style>[% Koha.Preference('OPACUserCSS') | $raw %]</style>[% 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 ( Koha.Preference('SCOUserCSS') ) %]
<!-- prettier-ignore-start -->
<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>
<!-- prettier-ignore-end -->
[% END %]
[% IF ( Koha.Preference('SCOUserCSS') ) %]<style>[% Koha.Preference('SCOUserCSS') | $raw %]</style>[% END %]
<script>
var Koha = {};
function _(s) { return s } // dummy function for gettext