mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
31 lines
1.6 KiB
Handlebars
31 lines
1.6 KiB
Handlebars
<section class="gh-dashboard5-resource gh-dashboard5-whats-new" {{did-insert this.load}}>
|
|
<article class="gh-dashboard5-resource-box">
|
|
<div class="gh-dashboard5-resource-title">
|
|
<h4>What's new</h4>
|
|
<p>All the latest changes and improvements.</p>
|
|
</div>
|
|
<div class="gh-dashboard5-resource-body">
|
|
{{#if (not (or this.loading this.error))}}
|
|
<div class="gh-dashboard5-list {{if this.whatsNew.hasNew "has-new"}}">
|
|
<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-resource-secondary">{{moment-format entry.published_at "D MMM YYYY"}}</div>
|
|
{{!-- {{#if entry.custom_excerpt}}
|
|
<p>{{entry.custom_excerpt}}</p>
|
|
{{/if}} --}}
|
|
</LinkTo>
|
|
</div>
|
|
{{/each}}
|
|
</div>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
<div class="gh-dashboard5-resource-footer">
|
|
<LinkTo @route="whatsnew" @query={{hash entry=null}} class="green">See more features →</LinkTo>
|
|
</div>
|
|
</article>
|
|
</section>
|