2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.newFeatures}}
|
2021-02-11 02:12:04 +08:00
|
|
|
<div class="section-title">
|
|
|
|
<h2>{{replace-emoji (i18n "admin.dashboard.new_features.title")}}</h2>
|
|
|
|
</div>
|
2021-01-22 23:09:02 +08:00
|
|
|
|
2022-07-06 01:41:31 +08:00
|
|
|
<div class="section-body {{this.columnCountClass}}">
|
|
|
|
{{#each this.newFeatures as |feature|}}
|
2022-06-30 18:30:50 +08:00
|
|
|
<DashboardNewFeatureItem @item={{feature}} @tagName="" />
|
2021-02-11 02:12:04 +08:00
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<div class="section-footer">
|
2022-07-06 01:41:31 +08:00
|
|
|
{{#if this.releaseNotesLink}}
|
|
|
|
<a
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
target="_blank"
|
|
|
|
href={{this.releaseNotesLink}}
|
|
|
|
class="btn btn-primary new-features-release-notes"
|
|
|
|
>
|
2021-02-11 02:12:04 +08:00
|
|
|
{{i18n "admin.dashboard.new_features.learn_more"}}
|
|
|
|
</a>
|
|
|
|
{{/if}}
|
2022-07-06 01:41:31 +08:00
|
|
|
<DButton
|
|
|
|
@label="admin.dashboard.new_features.dismiss"
|
|
|
|
@action={{this.dismissNewFeatures}}
|
2023-08-31 17:49:35 +08:00
|
|
|
class="btn-default new-features-dismiss"
|
2022-07-06 01:41:31 +08:00
|
|
|
/>
|
2021-01-22 23:09:02 +08:00
|
|
|
</div>
|
|
|
|
{{/if}}
|