mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 03:45:56 +08:00
20 lines
727 B
Handlebars
20 lines
727 B
Handlebars
{{#if newFeatures}}
|
|
<div class="section-title">
|
|
<h2>{{replace-emoji (i18n "admin.dashboard.new_features.title") }}</h2>
|
|
</div>
|
|
|
|
<div class="section-body {{columnCountClass}}">
|
|
{{#each newFeatures as |feature|}}
|
|
{{dashboard-new-feature-item item=feature tagName=""}}
|
|
{{/each}}
|
|
</div>
|
|
<div class="section-footer">
|
|
{{#if releaseNotesLink}}
|
|
<a rel="noopener noreferrer" target="_blank" href={{releaseNotesLink}} class="btn btn-primary new-features-release-notes">
|
|
{{i18n "admin.dashboard.new_features.learn_more"}}
|
|
</a>
|
|
{{/if}}
|
|
{{d-button label="admin.dashboard.new_features.dismiss" class="btn-default new-features-dismiss" action=dismissNewFeatures }}
|
|
</div>
|
|
{{/if}}
|