2022-05-17 10:34:34 +03:00
|
|
|
<section class="gh-dashboard-resource gh-dashboard-whats-new" {{did-insert this.load}}>
|
|
|
|
<article class="gh-dashboard-resource-box">
|
2022-09-06 16:59:33 +03:00
|
|
|
<div class="gh-dashboard-resource-title">
|
2022-09-02 17:19:53 +03:00
|
|
|
<h4>{{svg-jar "gift" alt="Gift" class="v-mid"}}What's new</h4>
|
2022-05-17 10:34:34 +03:00
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-resource-body">
|
|
|
|
<div class="gh-dashboard-list {{if this.whatsNew.hasNew "has-new"}}">
|
|
|
|
{{#if (not (or this.loading this.error))}}
|
|
|
|
<div class="gh-dashboard-list-body">
|
|
|
|
{{#each this.entries as |entry|}}
|
|
|
|
<div class="gh-dashboard-list-item">
|
|
|
|
<LinkTo class="gh-dashboard-list-post" @route="whatsnew" @query={{hash entry=entry.slug}}>
|
|
|
|
<span class="gh-dashboard-list-link">
|
|
|
|
<span>{{entry.title}}</span>
|
|
|
|
</span>
|
|
|
|
<div class="gh-dashboard-resource-secondary">{{moment-format entry.published_at "D MMM YYYY"}}</div>
|
2022-09-02 17:19:53 +03:00
|
|
|
</LinkTo>
|
2022-05-17 10:34:34 +03:00
|
|
|
</div>
|
|
|
|
{{else}}
|
|
|
|
<div class="gh-dashboard-list-empty">
|
|
|
|
<p>No new features yet.</p>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="gh-dashboard-resource-footer">
|
|
|
|
<LinkTo @route="whatsnew" @query={{hash entry=null}} class="green">See more features →</LinkTo>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</section>
|