Opened 7 years ago

Closed 7 years ago

#3016 closed defect (bug) (fixed)

1970 time for page drafts

Reported by: markjaquith Owned by: anonymous
Priority: normal Milestone: 2.1
Component: Administration Version: 2.1
Severity: normal Keywords: has-patch
Cc:

Description

Page drafts show a 1970 last-updated date on the manage pages screen. It should say "draft" or "never" and visually distinguish the page.

http://txfx.net/files/screenshots/screenshot-2006-08-09_102616.png

Attachments (1)

3016.diff (1.2 KB) - added by Nazgul 7 years ago.

Download all attachments as: .zip

Change History (7)

comment:1   ryan7 years ago

In query.php, when previewing drafts we set the timestamp to the current time. Maybe we can do something similar here.

comment:2   ryan7 years ago

When did we start showing drafts in the manage posts list anyway? They used to show only in the "Your drafts" field at the top, didn't they?

Posts still only show in the Your Drafts at the top, its Page Drafts that have the time issue. When the DB was changed to allow for them we didn't make the necessary changes to the page display code for it.

Eh, I don't mind them being there. If the page parent is set, they'll show up in the proper hierarchy. We just need to indicate that it is a draft and remove the date display.

Nazgul7 years ago

  • Keywords has-patch added

Added a patch which hides the last modified field if the page is still in draft.

comment:6   ryan7 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.