2014-03-05 07:52:20 -05:00
|
|
|
<div class="badges">
|
2019-01-23 05:29:51 -05:00
|
|
|
<div class="badges-header">
|
|
|
|
<h3 class="badges-heading">{{i18n 'admin.badges.title'}}</h3>
|
|
|
|
<div class="create-new-badge">
|
|
|
|
{{#link-to 'adminBadges.show' 'new' class="btn btn-primary"}}
|
|
|
|
{{d-icon "plus"}}
|
|
|
|
<span>{{i18n 'admin.badges.new'}}</span>
|
|
|
|
{{/link-to}}
|
2020-01-13 12:44:22 -05:00
|
|
|
|
|
|
|
{{#link-to 'adminBadges.award' 'new' class="btn"}}
|
|
|
|
{{d-icon "upload"}}
|
|
|
|
<span>{{i18n 'admin.badges.mass_award.title'}}</span>
|
2020-01-13 09:20:26 -05:00
|
|
|
{{/link-to}}
|
2019-01-23 05:29:51 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-14 12:26:05 -05:00
|
|
|
<div class='content-list'>
|
2019-01-23 05:29:51 -05:00
|
|
|
<ul class="admin-badge-list">
|
2016-04-29 17:29:41 -04:00
|
|
|
{{#each model as |badge|}}
|
2019-01-23 05:29:51 -05:00
|
|
|
<li class="admin-badge-list-item">
|
2020-01-13 09:20:26 -05:00
|
|
|
{{#link-to selectedRoute badge.id}}
|
2019-01-23 05:29:51 -05:00
|
|
|
{{badge-button badge=badge}}
|
|
|
|
{{#if badge.newBadge}}
|
|
|
|
<span class="list-badge">{{i18n 'filters.new.lower_title'}}</span>
|
|
|
|
{{/if}}
|
|
|
|
{{/link-to}}
|
|
|
|
</li>
|
2014-03-05 07:52:20 -05:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-10-17 14:27:40 -04:00
|
|
|
{{outlet}}
|
2020-01-13 12:44:22 -05:00
|
|
|
</div>
|