Project

General

Profile

Actions

Patch #42794

open

Hide irrelevant information when printing

Added by Luc Luc 6 days ago. Updated 6 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When using native browser printing (Ctrl+P or Ctrl+Shift+P) there are several views where irrelevant information are still printed, (subjectively?) "uglifying" the printed output, for example:
  • in time entries list, an extra / stray column with action buttons (patch attached)
  • in issues list, an extra / stray column with with action buttons (patch attached)
  • in version lists, an extra / stray column with action buttons (patch attached)

In my opinion I also consider irrelevant for printing the list of formats and update information for wiki pages, so please find attached a (most optional) patch that hide those sections too.

All patches are very simple, they just add the hide-when-print class to the corresponding elements that should not be displayed when printing.

The patches where generated and tested on Redmine version 6.0.5.

I didn't know what category these patches should be assigned to (no "Printing" category found) so I picked "UI".

As a side note, I extensively use native printing (Ctrl+P) to generate PDF output reports and wiki based documentation instead of exporting to various formats, because I find it more convenient and most importantly it retains the overall look and feel of Redmine, matching the original formatting.


Files

0001-Hide-buttons-column-in-time-table-when-printing.patch (1.12 KB) 0001-Hide-buttons-column-in-time-table-when-printing.patch Hide buttons column in time table when printing Luc Luc, 2025-05-31 09:44
0002-Hide-buttons-column-in-issues-table-when-printin.patch (1.17 KB) 0002-Hide-buttons-column-in-issues-table-when-printin.patch Hide buttons column in issues table when printing Luc Luc, 2025-05-31 09:44
0003-Hide-buttons-column-in-version-tables-when-printing.patch (1.71 KB) 0003-Hide-buttons-column-in-version-tables-when-printing.patch Hide buttons column in version tables when printing Luc Luc, 2025-05-31 09:44
0004-Hide-wiki-status-and-other-formats-when-printing.patch (1.4 KB) 0004-Hide-wiki-status-and-other-formats-when-printing.patch Hide wiki status and other formats when printing Luc Luc, 2025-05-31 09:44
Actions #1

Updated by Go MAEDA 6 days ago

  • Target version set to 6.0.6

Setting the target version to 6.0.6.

Actions

Also available in: Atom PDF