[Koha-bugs] [Bug 33478] Customise the format of notices when they are printed
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 19 03:32:08 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33478
--- Comment #98 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 157382
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=157382&action=edit
Bug 33478: CCS textarea instead of specific style inputs
This patch implements a single style field for the slip to allow for more
advanced CSS customisation. This prevents the forcing of default styles which
override the SlipCSS syspref settings. There are links to insert selectors as
helpers.
To test, go to edit the Format of a notice. There is now a textarea so you can
write CSS directly. There are links that insert selectors as CSS for notices
needs specific IDs like #receipt and #slip to override print.css etc.
Confirm that SlipCSS stylesheet changes are applied first. Specific notice
styles should be applied last.
Test with a non-HTML notice as well, such as RECALL_REQUESTER_DET. Plain
(non_HTML) notices have always come with <pre> tags around them so the text is
formatted slightly differently but any CSS from SlipCSS or the notice Format
should still hold.
Sponsored-by: Colorado Library Consortium
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list