mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 18:34:39 +03:00
Merge pull request #5098 from novaugust/view-post-link
Add link to published posts preview on content page
This commit is contained in:
commit
6db9826b23
@ -258,6 +258,13 @@
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.post-published-by .status a {
|
||||
color: inherit;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.normal {
|
||||
text-transform: none;
|
||||
margin: 0 3px;
|
||||
@ -427,4 +434,4 @@
|
||||
|
||||
.content-preview.keyboard-focused {
|
||||
animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,13 @@
|
||||
<span class="sr-only">Star</span>
|
||||
</button>
|
||||
<small class="post-published-by">
|
||||
<span class="status">{{#if isPublished}}Published{{else}}Written{{/if}}</span>
|
||||
<span class="status">
|
||||
{{#if isPublished}}
|
||||
<a {{bind-attr title="model.title" href="model.url"}}>Published</a>
|
||||
{{else}}
|
||||
Written
|
||||
{{/if}}
|
||||
</span>
|
||||
<span class="normal">by</span>
|
||||
<span class="author">{{#if model.author.name}}{{model.author.name}}{{else}}{{model.author.email}}{{/if}}</span>
|
||||
</small>
|
||||
|
Loading…
Reference in New Issue
Block a user