Edgewall Software

Ticket #5417 (closed enhancement: worksforme)

Opened 2 years ago

Last modified 2 years ago

[PATCH] Provide a stylesheet for use when printing that gets rid of irrelevant data

Reported by: robert.chin@… Owned by: jonas
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords: needinfo
Cc:

Description

It would be great to have a special printing stylesheet that gets rid of irrelevant UI widgets (buttons, search fields, etc.) for use when printing. This reduces paper consumption due to margins and other things taking up space.

This is especially useful if trac is used to print revision log PDFs for electronic reading (such as on an ebook reader, or other archival purposes).

Attachments

trac_print_stylesheet.diff Download (2.4 KB) - added by robert.chin@… 2 years ago.
Print stylesheet and associated changes to use the media attribute in the href tag

Change History

Changed 2 years ago by robert.chin@…

Print stylesheet and associated changes to use the media attribute in the href tag

Changed 2 years ago by eblot

  • keywords needinfo added

Which release of Trac are you using?
AFAICT, the widgets you're referring to (buttons, search boxes, headers/banners, ...) are already discarded for printing.

Changed 2 years ago by robert.chin@…

  • status changed from new to closed
  • resolution set to worksforme

You're right, I was using an older version of trac as a reference, and didn't bother to check the latest trac head that my development machine was using... oops.

Add/Change #5417 ([PATCH] Provide a stylesheet for use when printing that gets rid of irrelevant data)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.