2014-03-05 20:52:20 +08:00
|
|
|
<div class="badges">
|
|
|
|
|
2018-02-15 01:26:05 +08:00
|
|
|
<div class='content-list'>
|
2014-12-09 05:35:49 +08:00
|
|
|
<h3>{{i18n 'admin.badges.title'}}</h3>
|
2014-03-05 20:52:20 +08:00
|
|
|
<ul>
|
2016-04-30 05:29:41 +08:00
|
|
|
{{#each model as |badge|}}
|
2014-03-05 20:52:20 +08:00
|
|
|
<li>
|
2014-12-13 02:28:20 +08:00
|
|
|
{{#link-to 'adminBadges.show' badge.id}}
|
|
|
|
{{badge-button badge=badge}}
|
|
|
|
{{#if badge.newBadge}}
|
2014-12-09 05:35:49 +08:00
|
|
|
<span class="list-badge">{{i18n 'filters.new.lower_title'}}</span>
|
2014-03-05 20:52:20 +08:00
|
|
|
{{/if}}
|
2014-10-18 02:27:40 +08:00
|
|
|
{{/link-to}}
|
2014-03-05 20:52:20 +08:00
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
2014-10-18 02:27:40 +08:00
|
|
|
{{#link-to 'adminBadges.show' 'new' class="btn"}}
|
2017-07-27 04:25:09 +08:00
|
|
|
{{d-icon "plus"}} {{i18n 'admin.badges.new'}}
|
2014-10-18 02:27:40 +08:00
|
|
|
{{/link-to}}
|
|
|
|
<br>
|
|
|
|
<br>
|
2014-03-05 20:52:20 +08:00
|
|
|
</div>
|
|
|
|
|
2014-10-18 02:27:40 +08:00
|
|
|
{{outlet}}
|
2014-03-05 20:52:20 +08:00
|
|
|
</div>
|