[Koha-bugs] [Bug 20168] Update of the OPAC bootstrap template to bootstrap v4

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 7 20:09:12 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20168

--- Comment #27 from Owen Leonard <oleonard at myacpl.org> ---
(In reply to Jonathan Druart from comment #26)
> Owen, there is a problem with the dropdown-menu:
> https://snipboard.io/wcETBt.jpg

We talked about this on IRC, but I'll repeat it here for posterity: The problem
is that the opaclayoutstylesheet system preference is filled by default with
"opac.css." I didn't expect this--I thought the default was blank and that
checking for the existence of a value in the preference was enough to determine
whether a custom stylesheet was being used.

We could change the way the default it set -- I'm not sure there is a reason to
put a value in the preference by default.

I could also modify the check in doc-head-close.inc. Where it is currently:

[% IF ( Koha.Preference('opaclayoutstylesheet') ) %] 

We could change it to:

[% IF ( Koha.Preference('opaclayoutstylesheet') !== "opac.css" ) %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list