Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Document Information Sidebar Changes #20

Open
3 of 4 tasks
nicdford opened this issue Jul 27, 2016 · 5 comments
Open
3 of 4 tasks

Document Information Sidebar Changes #20

nicdford opened this issue Jul 27, 2016 · 5 comments
Assignees

Comments

@nicdford
Copy link
Collaborator

nicdford commented Jul 27, 2016

  • Need Date Convert functions for more readable date "day Month yyyy"
  • Display Age of post in Days
  • Make deprecated standout more
  • Add Post Type Icons to Information Meta Heading
@jimtrue
Copy link
Contributor

jimtrue commented Jul 27, 2016

Here's the code that calls the dates:

 [if post_modified]
        <p>Created: {@post_date}<br />Last Updated: {@post_modified}</p>
    [else]
        <p>Created: {@post_date}</p>
    [/if]

So just do the magic tag, output filter like {@post_date,gimme_pretty_date}

@nicdford nicdford self-assigned this Jul 27, 2016
@jimtrue
Copy link
Contributor

jimtrue commented Jul 27, 2016

screenshot 2016-07-27 15 46 43

Thing on this that need to fix: Spacing around the icons. and fixing multiple items in related.

@jimtrue
Copy link
Contributor

jimtrue commented Jul 28, 2016

Maybe a RED Alert Box for Deprecated around the 'message' YELLOW for in Draft?

@jimtrue
Copy link
Contributor

jimtrue commented Jul 28, 2016

Also, this was the mockup I did in Sketch.
info box

jimtrue referenced this issue Jul 29, 2016
Using post_type to define the icon
jimtrue added a commit that referenced this issue Jul 29, 2016
jimtrue added a commit that referenced this issue Jul 29, 2016
@jimtrue
Copy link
Contributor

jimtrue commented Jul 29, 2016

Still need to add the styles for the DEPRECATED and DRAFT, but i've got the date/age, etc. done.

@jimtrue jimtrue reopened this Jul 29, 2016
jimtrue added a commit that referenced this issue Jul 29, 2016
jimtrue added a commit that referenced this issue Jul 29, 2016
jimtrue added a commit that referenced this issue Jul 29, 2016
Hopefully last time #20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants