[Bug 38711] New: Wrong font-weight in tables during printing from STAFF interface
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Bug ID: 38711 Summary: Wrong font-weight in tables during printing from STAFF interface Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Staff interface Assignee: koha-bugs@lists.koha-community.org Reporter: alexander.wagner@desy.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com While printing a page from the Koha STAFF interface all last columns of tables use **bold** font while on screen they use normal font. This can be seen e.g. when running reports to feed a notice. This happens due to the following CSS defined for _print_: ``` td:last-child, th:last-child { background-color: #E9E9E9; border-bottom: 1px solid #CCCCCC; border-left: 0; border-right: 0; border-top: 0; font-size: 14px; font-weight: bold; padding: 5px 5px 5px 5px; } ``` This assigns `font-weight: bold` to all `last-child`s of `td`. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Alexander Wagner <alexander.wagner@desy.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |alexander.wagner@desy.de |ity.org | -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 --- Comment #1 from Alexander Wagner <alexander.wagner@desy.de> --- 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |Main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 --- Comment #2 from Alexander Wagner <alexander.wagner@desy.de> --- Created attachment 175603 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175603&action=edit 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 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Alexander Wagner <alexander.wagner@desy.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oleonard@myacpl.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #175603|0 |1 is obsolete| | --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 175907 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=175907&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com Text to go in the| |This fixes the print style release notes| |sheet for tables in the | |staff interface so that the | |last column is no longer | |printed in bold. This was | |affecting various pages | |when printed, such as | |notices and slips, and | |pages. Change sponsored?|--- |Sponsored -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Wrong font-weight in tables |Wrong font-weight in tables |during printing from STAFF |during printing from staff |interface |interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA QA Contact|testopia@bugs.koha-communit |katrin.fischer@bsz-bw.de |y.org | --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- QA by RM -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |25.05.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 25.05! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Text to go in the|This fixes the print style |This fixes the print style release notes|sheet for tables in the |sheet for tables in the |staff interface so that the |staff interface - the last |last column is no longer |column is no longer printed |printed in bold. This was |in bold. This was affecting |affecting various pages |various pages when printed, |when printed, such as |such as notices and slips, |notices and slips, and |and pages. |pages. | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Paul Derscheid <paul.derscheid@lmscloud.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|25.05.00 |25.05.00,24.11.03 released in| | Status|Pushed to main |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 --- Comment #6 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Nice work everyone! Pushed to 24.11.x for 24.11.03 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |Needs documenting CC| |wainuiwitikapark@catalyst.n | |et.nz --- Comment #7 from Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> --- Not backporting to 22.11.x as it wasn't backported to 24.05.x -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38711 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Needs documenting |RESOLVED --- Comment #8 from David Nind <david@davidnind.com> --- Bug fix, no changes to the manual required. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org