Bugzilla – Attachment 178129 Details for
Bug 39144
OPAC virtual card page is missing custom CSS from OPACUserCSS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 39144: Remove second call to opac.css
Bug-39144-Remove-second-call-to-opaccss.patch (text/plain), 1.36 KB, created by
David Cook
on 2025-02-16 23:34:22 UTC
(
hide
)
Description:
Bug 39144: Remove second call to opac.css
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-02-16 23:34:22 UTC
Size:
1.36 KB
patch
obsolete
>From e0a8d564a28b6b724bc7c0a3ef1c3c5e629654cf Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >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 @@ > <title>My virtual card › [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title> > [% INCLUDE 'doc-head-close.inc' %] > [% BLOCK cssinclude %] >- [% Asset.css("css/opac.css") | $raw %] > [% END %] > </head> > [% INCLUDE 'bodytag.inc' bodyid='opac-virtual-card' %] >-- >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 39144
:
178129
|
178300
|
178450