[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
Sun Nov 12 22:39:31 CET 2023


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

Aleisha Amohia <aleisha at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #157382|0                           |1
        is obsolete|                            |

--- Comment #103 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 158838
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=158838&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