Bugzilla – Attachment 178300 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.41 KB, created by
David Nind
on 2025-02-18 18:07:03 UTC
(
hide
)
Description:
Bug 39144: Remove second call to opac.css
Filename:
MIME Type:
Creator:
David Nind
Created:
2025-02-18 18:07:03 UTC
Size:
1.41 KB
patch
obsolete
>From 03ee0ae18865514eb44a21ca3641a2d8f40a7a5a 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 > >Signed-off-by: David Nind <david@davidnind.com> >--- > 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