Summary: | Wrong font-weight in tables during printing from staff interface | ||
---|---|---|---|
Product: | Koha | Reporter: | Alexander Wagner <alexander.wagner> |
Component: | Staff interface | Assignee: | Alexander Wagner <alexander.wagner> |
Status: | Pushed to stable --- | QA Contact: | Katrin Fischer <katrin.fischer> |
Severity: | minor | ||
Priority: | P5 - low | CC: | david, gmcharlt, oleonard |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
GIT URL: | Change sponsored?: | Sponsored | |
Patch complexity: | --- | Documentation contact: | |
Documentation submission: | Text to go in the release notes: |
This fixes the print style sheet for tables in the staff interface - the last column is no longer printed in bold. This was affecting various pages when printed, such as notices and slips, and pages.
|
|
Version(s) released in: |
25.05.00,24.11.03
|
Circulation function: | |
Attachments: |
Bug 38711: Wrong font-weight in tables during printing from STAFF interface
Bug 38711: Wrong font-weight in tables during printing from STAFF interface |
Description
Alexander Wagner
2024-12-16 09:37:58 UTC
The easiest way to reproduce is a custom html page that holds a real table. 1. Go to `Home / Tools / Additional content / Pages` 2. Select `Add new entry using text editor` 3. Add the following html ```html <table> <tbody> <tr> <td>col 11</td> <td>col 12</td> </tr> <tr> <td>col 21</td> <td>col 22</td> </tr> </tbody> </table> ``` 4. Save 5. Use the `Staff`-URL from `Additional content: Pages` to open the page in a new tab 6. Select `File / Print` (or fire up the dev console and apply the Print-css) 7. The entries `col 12` and `col 22` appear in bold face. Created attachment 175603 [details] [review] Bug 38711: Wrong font-weight in tables during printing from STAFF interface Fix last columns of tables to be printed in `bold`. This affects various functions of Koha e.g. Notices and Slips, Pages etc. 1. Go to `Home / Tools / Additional content / Pages` 2. Select `Add new entry using text editor` 3. Add the following html ```html <table> <tbody> <tr> <td>col 11</td> <td>col 12</td> </tr> <tr> <td>col 21</td> <td>col 22</td> </tr> </tbody> </table> ``` 4. Save 5. Use the `Staff`-URL from `Additional content: Pages` to open the page in a new tab 6. Select `File / Print` (or fire up the dev console via F12 and apply the Print-css) 7. The entries `col 12` and `col 22` appear in bold face. 8. Apply the patch 9. Reload the page 10. The entries `col 12` and `col 22` appear in normal font. Sponsored-by: Deutsches Elektronen-Synchrotron DESY, Library Created attachment 175907 [details] [review] Bug 38711: Wrong font-weight in tables during printing from STAFF interface Fix last columns of tables to be printed in `bold`. This affects various functions of Koha e.g. Notices and Slips, Pages etc. 1. Go to `Home / Tools / Additional content / Pages` 2. Select `Add new entry using text editor` 3. Add the following html ```html <table> <tbody> <tr> <td>col 11</td> <td>col 12</td> </tr> <tr> <td>col 21</td> <td>col 22</td> </tr> </tbody> </table> ``` 4. Save 5. Use the `Staff`-URL from `Additional content: Pages` to open the page in a new tab 6. Select `File / Print` (or fire up the dev console via F12 and apply the Print-css) 7. The entries `col 12` and `col 22` appear in bold face. 8. Apply the patch 9. Reload the page 10. The entries `col 12` and `col 22` appear in normal font. Sponsored-by: Deutsches Elektronen-Synchrotron DESY, Library Signed-off-by: David Nind <david@davidnind.com> QA by RM Pushed for 25.05! Well done everyone, thank you! Nice work everyone! Pushed to 24.11.x for 24.11.03 |