Opened 6 years ago

Closed 6 years ago

#4628 closed enhancement (fixed)

Make post status more visible on Manage/Posts tab

Reported by: tellyworth Owned by: anonymous
Priority: normal Milestone: 2.3
Component: Administration Version:
Severity: normal Keywords:
Cc:

Description

It's often difficult or impossible to distinguish between different post status types on the Manage/Posts page.

This patch adds a new CSS class to each table row based on the post_status value: 'status-publish', 'status-draft', 'status-future', etc.

I haven't changed the admin CSS to take advantage of this; I'll leave that task for the design experts. Example CSS selectors below:

#the-list tr.status-future { /* future row */ }
#the-list tr.status-draft td { /* draft cell */ }
#the-list tr.status-publish th { /* published heading */ }

Attachments (2)

manage-post-status-class-r5797.patch (503 bytes) - added by tellyworth 6 years ago.
manage-post-status-class-r5797-a.patch (669 bytes) - added by tellyworth 6 years ago.

Download all attachments as: .zip

Change History (4)

manage-post-status-class-r5797-a.patch is an alternate patch with an additional feature. As well as the status class, it applies a second class to indicate whether the owner of the post is the current user ('author-self') or someone else ('author-other').

comment:2   ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5799]) Add classes that indicate post status and author ownership. Props tellyworth. fixes #4628

Note: See TracTickets for help on using tickets.