From e0a8d564a28b6b724bc7c0a3ef1c3c5e629654cf Mon Sep 17 00:00:00 2001 From: David Cook Date: Sun, 16 Feb 2025 23:33:05 +0000 Subject: [PATCH] Bug 39144: Remove second call to opac.css This change removes an unnecessary second call to opac.css on the opac-virtual-card.pl page. Test plan: 1. Set OPACVirtualCard syspref to Allow 2. Add an obvious change to OPACUserCSS syspref ( body {background-color: pink;} ) 3. Switch to the OPAC, notice the CSS is in effect 4. Log in and go to 'Your account' then 'My virtual card' from the menu on the left 5. Notice the custom CSS affects the virtual card page too --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-virtual-card.tt | 1 - 1 file changed, 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-virtual-card.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-virtual-card.tt index 24228efde4..a7542aeb36 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-virtual-card.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-virtual-card.tt @@ -9,7 +9,6 @@ My virtual card › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog [% INCLUDE 'doc-head-close.inc' %] [% BLOCK cssinclude %] - [% Asset.css("css/opac.css") | $raw %] [% END %] [% INCLUDE 'bodytag.inc' bodyid='opac-virtual-card' %] -- 2.39.5