2014-12-23 08:12:26 +08:00
|
|
|
<div class='emoji'>
|
|
|
|
<h2>{{i18n 'admin.emoji.title'}}</h2>
|
|
|
|
|
|
|
|
<p class="desc">{{i18n 'admin.emoji.help'}}</p>
|
|
|
|
|
|
|
|
<p>{{emoji-uploader done="emojiUploaded"}}</p>
|
|
|
|
|
2016-10-21 01:26:41 +08:00
|
|
|
{{#if sortedEmojis}}
|
2014-12-23 08:12:26 +08:00
|
|
|
<div class="span8">
|
|
|
|
<table id="custom_emoji">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{i18n "admin.emoji.image"}}</th>
|
|
|
|
<th>{{i18n "admin.emoji.name"}}</th>
|
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
2016-10-21 01:26:41 +08:00
|
|
|
{{#each sortedEmojis as |e|}}
|
2014-12-23 08:12:26 +08:00
|
|
|
<tr>
|
|
|
|
<th><img class="emoji" src="{{unbound e.url}}" title="{{unbound e.name}}"></th>
|
|
|
|
<th>:{{e.name}}:</th>
|
|
|
|
<th><button {{action "destroy" e}} class='btn btn-danger no-text pull-right'>{{fa-icon 'trash-o'}} </button></th>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|