mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-03 00:15:11 +03:00
58daafdef4
* Subtle tweaks to the recent posts refs: https://github.com/TryGhost/Team/issues/1531 * Combining Recent Posts and Members Activity together and other layout tweaks refs: https://github.com/TryGhost/Team/issues/1531 - attempting to combine recent posts and members activity together - various layout tweaks to make this work better - tons of tiny style tweaks
29 lines
1.5 KiB
Handlebars
29 lines
1.5 KiB
Handlebars
<section class="gh-dashboard5-section gh-dashboard5-section-aside gh-dashboard5-whats-new" {{did-insert this.load}}>
|
|
<article class="gh-dashboard5-box">
|
|
{{#if (not (or this.loading this.error))}}
|
|
<div class="gh-dashboard5-list {{if this.whatsNew.hasNew "has-new"}}">
|
|
<div class="gh-dashboard5-list-header">
|
|
<Dashboard::v5::Parts::Metric
|
|
@label="What's new" />
|
|
</div>
|
|
<div class="gh-dashboard5-list-body">
|
|
{{#each this.entries as |entry|}}
|
|
<div class="gh-dashboard5-list-item">
|
|
<LinkTo @route="whatsnew" @query={{hash entry=entry.slug}}>
|
|
<span class="gh-dashboard5-list-link">{{entry.title}}</span>
|
|
<div class="gh-dashboard5-list-date">{{moment-format entry.published_at "D MMM YYYY"}}</div>
|
|
{{#if entry.custom_excerpt}}
|
|
<p>{{entry.custom_excerpt}}</p>
|
|
{{/if}}
|
|
</LinkTo>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
<div class="gh-dashboard5-list-footer">
|
|
<LinkTo @route="whatsnew" @query={{hash entry=null}} class="green">See more updates →</LinkTo>
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</article>
|
|
</section>
|