Summary: | Some improvements to OPAC print CSS | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Templates | Assignee: | Owen Leonard <oleonard> |
Status: | RESOLVED FIXED | QA Contact: | Martin Renvoize (ashimema) <martin.renvoize> |
Severity: | trivial | ||
Priority: | P5 - low | CC: | fridolin.somers, lucas, pedro.amorim |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Small patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
24.05.00
|
|
Circulation function: | |||
Bug Depends on: | 35810 | ||
Bug Blocks: | |||
Attachments: |
Bug 36610: Some improvements to OPAC print CSS
Bug 36610: Some improvements to OPAC print CSS Bug 36610: Some improvements to OPAC print CSS |
Description
Katrin Fischer
2024-04-16 15:58:56 UTC
I'm expanding the scope of the bug because I threw in some other fixes too. Created attachment 165025 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view. Created attachment 165062 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Created attachment 166748 [details] [review] Bug 36610: Some improvements to OPAC print CSS This patch makes a few CSS and markup changes to improve the print view. The markup changes use Bootstrap's ".d-print-none" class to hide specific elements without creating an ID or class specifically for those elements. To test, apply the patch and rebuild the OPAC CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client) - Log in to the OPAC - Test the following user pages by viewing the print preview: - Summary - Holds history - Messaging - Lists - Suggestions - The "Personal details" tab hasn't been improved for printing but it's a good page to view to confirm that the "Back to top" arrow is now hidden in the print view. Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Pushed for 24.05! Well done everyone, thank you! Does not apply on 23.11.x Maybe no need to backport. |