0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Updated recent posts links to analytics

Refs https://github.com/TryGhost/Team/issues/2612

- the recent posts were used to link to the editor, now they're linked to their analytics page
- now that we have an analytics screen for each post it makes sense to link to that screen where possible
This commit is contained in:
Sodbileg Gansukh 2023-03-15 15:21:26 +08:00
parent 6a3a4632ad
commit 7c9e77bc81

View file

@ -25,7 +25,7 @@
</div>
<div class="gh-dashboard-list-body">
{{#each this.posts as |post|}}
<LinkTo class="gh-dashboard-list-item permalink" @route="editor.edit" @models={{array post.displayName post.id}}>
<LinkTo class="gh-dashboard-list-item permalink" @route="posts.analytics" @model={{post.id}}>
<div class="gh-dashboard-list-item-sub">
<span class="gh-dashboard-list-text">{{post.title}}</span>
</div>