forked from TryGhost/Ghost
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request TryGhost#1704 from ErisDS/featured-star
Markup & style fixes for post list statuses
- Loading branch information
Showing
5 changed files
with
52 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1677,12 +1677,4 @@ main { | |
background:$orange; | ||
} | ||
|
||
} | ||
|
||
.status-draft { | ||
color: $red; | ||
} | ||
.status-scheduled { | ||
color: $orange; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,18 @@ | ||
<a class="permalink{{#if featured}} featured{{/if}}{{#if page}} page{{/if}}" href="#" title="Edit this post"> | ||
<h3 class="entry-title">{{{title}}}</h3> | ||
<section class="entry-meta"> | ||
<span class="status"> | ||
{{#if published}} | ||
{{#if page}} | ||
<span class="page">Page</span> | ||
{{else}} | ||
<time datetime="{{date published_at format="YYYY-MM-DD hh:mm"}}" class="date"> | ||
<time datetime="{{date published_at format="YYYY-MM-DD hh:mm"}}" class="date published"> | ||
Published {{date published_at timeago="True"}} | ||
</time> | ||
{{/if}} | ||
{{else}} | ||
<span class="status-draft">Draft</span> | ||
<span class="draft">Draft</span> | ||
{{/if}} | ||
</span> | ||
</section> | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters