mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Updated post history timestamp format
No ref
This commit is contained in:
parent
fcb100141b
commit
adf796f26e
2 changed files with 4 additions and 6 deletions
|
@ -54,7 +54,7 @@
|
|||
<li class="nav-list-item {{if revision.selected "selected" ""}}">
|
||||
<button type="button" {{action "handleClick" index}}>
|
||||
<div class="flex items-center">
|
||||
<span class="gh-post-history-version">{{capitalize-first-letter (moment-from-now revision.createdAt)}}</span>
|
||||
<span class="gh-post-history-version">{{gh-format-post-time revision.createdAt format="D MMM YYYY, HH:mm"}}{{this.timezone}}</span>
|
||||
{{#if revision.latest}}
|
||||
<span class="gh-post-history-version-current">Latest</span>
|
||||
{{/if}}
|
||||
|
|
|
@ -15,17 +15,15 @@
|
|||
background: var(--whitegrey-l2);
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-meta {
|
||||
margin-top: 4px;
|
||||
color: var(--midgrey);
|
||||
font-size: 1.35rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.nav-list-item .gh-post-history-version-current {
|
||||
margin-left: 1rem;
|
||||
margin-left: .8rem;
|
||||
padding: 0 4px;
|
||||
background: var(--lightgrey-l2);
|
||||
color: var(--darkgrey);
|
||||
|
|
Loading…
Add table
Reference in a new issue