Edgewall Software
Modify

Opened 14 years ago

Closed 13 years ago

Last modified 12 years ago

#10218 closed defect (fixed)

"Last modified" footer should be displayed as absolute time when the wiki page is printed

Reported by: rux@… Owned by: Remy Blank
Priority: normal Milestone: 0.12.3
Component: wiki system Version: 0.12.2
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

"Last modified" footer is nice for browsing. However, it is outdated and redundant when the page is printed out.

The following patch fixes this issue:

  • trac/htdocs/css/wiki.css

     
    6262#overview .comment { padding: 1em 0 0 }
    6363
    6464@media print {
    65  th.diff, td.diff { display: none }
     65 th.diff, td.diff, div.trac-modifiedby { display: none }
    6666}
    6767
    6868/* Styles for the TracGuideToc wikimacro */

Attachments (0)

Change History (5)

in reply to:  description ; comment:1 by Remy Blank, 14 years ago

Milestone: 0.12.3
Owner: set to Remy Blank
Summary: "Last modified" footer should be rid off when the wiki page is printed"Last modified" footer should be displayed as absolute time when the wiki page is printed

Replying to rux@…:

"Last modified" footer is nice for browsing. However, it is outdated and redundant when the page is printed out.

Is it? If you want to remove it, you can easily customize the CSS of your own site. Just add the corresponding entry to a custom stylesheet.

Personally, I rather like to know the last change date of a printed document. Except that we display it as "3 months ago", which defeats the whole purpose :) We should switch the display to absolute time when printing.

in reply to:  1 comment:2 by rux@…, 14 years ago

Replying to rblank:

Personally, I rather like to know the last change date of a printed document. Except that we display it as "3 months ago", which defeats the whole purpose :) We should switch the display to absolute time when printing.

It's quite acceptable to me. Thanks a lot.

comment:3 by Remy Blank, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in [10740]: when printing, the age indication is replaced with an absolute time.

in reply to:  1 ; comment:4 by trac@…, 12 years ago

Replying to rblank:

Replying to rux@…:

"Last modified" footer is nice for browsing. However, it is outdated and redundant when the page is printed out.

Is it? If you want to remove it, you can easily customize the CSS of your own site. Just add the corresponding entry to a custom stylesheet.

I think your definition of 'easily' is not the same as mine, Would you post the code and what file it to go into please? At the moment I'm going to have to hack the installed wiki.css file.

in reply to:  4 comment:5 by Remy Blank, 12 years ago

Replying to trac@…:

Would you post the code and what file it to go into please?

Follow the last link in comment:1.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.