discourse/app/assets/javascripts/admin/templates/badges.hbs

26 lines
607 B
Handlebars
Raw Normal View History

2014-03-05 07:52:20 -05:00
<div class="badges">
2018-02-14 12:26:05 -05:00
<div class='content-list'>
<h3>{{i18n 'admin.badges.title'}}</h3>
2014-03-05 07:52:20 -05:00
<ul>
{{#each model as |badge|}}
2014-03-05 07:52:20 -05:00
<li>
2014-12-12 13:28:20 -05:00
{{#link-to 'adminBadges.show' badge.id}}
{{badge-button badge=badge}}
{{#if badge.newBadge}}
<span class="list-badge">{{i18n 'filters.new.lower_title'}}</span>
2014-03-05 07:52:20 -05:00
{{/if}}
{{/link-to}}
2014-03-05 07:52:20 -05:00
</li>
{{/each}}
</ul>
{{#link-to 'adminBadges.show' 'new' class="btn btn-default"}}
{{d-icon "plus"}} {{i18n 'admin.badges.new'}}
{{/link-to}}
<br>
<br>
2014-03-05 07:52:20 -05:00
</div>
{{outlet}}
2014-03-05 07:52:20 -05:00
</div>