Add a print stylesheet for better display when printing a ticket or a list

420
Enhancement
-
4.1
-
-
Accepted
Normal
Normal
3 years ago
3 years ago
0

Description

What does this enhancement do? If you add a print stylesheet, we can have a nice layout when we print a ticket or a list. Could be useful to generate a PDF file of the printed file.

Attachments

Ticket History

3 years and 5 months ago by Jack

  • Changed Status from New to Accepted

3 years and 5 months ago by Michel LAURENT

  • Added attachment css.php

Here's what I did to solve this on my install :

  1. Update css.php file to be able to use print files on themes (see attachment)
  2. Rename default.css to screen.css in traq / vendor / traq / views / default / css /
  3. Create a print.css file in traq / vendor / traq / views / default / css / (see attachment)

With those enhancement, it already looks better but It's not yet a nice print layout. Will make some change for better rendering in the future.

3 years and 5 months ago by Michel LAURENT

  • Added attachment print.css

3 years and 4 months ago by Jack

  • Changed Milestone from 3.5.1 to 3.6

3 years and 2 months ago by Jack

  • Changed Milestone from 3.6 to 4.1