[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
Tue Mar 26 15:35:45 CET 2024


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

Lucas Gass <lucas at bywatersolutions.com> changed:

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

--- Comment #147 from Lucas Gass <lucas at bywatersolutions.com> ---
Created attachment 163924
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163924&action=edit
Bug 33478: Save notice format settings

Save format settings for an individual notice, or for all notices
This patch implements a single style field for a slip to allow for advanced CSS
customisation of printed notices. There are links to insert selectors as
helpers. Styles can be applied for an individual notice, or all notices.

To test:

1. Apply the patches, install database updates, update schema if needed, and
restart services
2. Go to Tools -> Notices and slips
3. Edit any notice
4. Go to the Format tab
5. Confirm there is a textarea for CSS, and links to insert helpful selectors
for IDs like #receipt and #slip
6. Add some CSS and confirm it saves.
7. Test that 'apply these settings to all notices' option works. Test the
confirmation box appears when this is checked.
8. Add a new notice and confirm CSS settings save successfully
9. The subsequent patches have specific testing plans for each printable
notice. For each, confirm that SlipCSS stylesheet changes are applied first.
Specific notice styles should be applied last.
10. 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
Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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


More information about the Koha-bugs mailing list