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>
|
|
|
|
|
2019-01-10 18:06:01 +08:00
|
|
|
<p>{{emoji-uploader done=(action "emojiUploaded")}}</p>
|
2014-12-23 08:12:26 +08:00
|
|
|
|
2016-10-21 01:26:41 +08:00
|
|
|
{{#if sortedEmojis}}
|
2018-02-15 01:26:05 +08:00
|
|
|
<div>
|
2014-12-23 08:12:26 +08:00
|
|
|
<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>
|
2017-01-05 06:54:03 +08:00
|
|
|
<th><img class="emoji emoji-custom" src="{{unbound e.url}}" title="{{unbound e.name}}"></th>
|
2014-12-23 08:12:26 +08:00
|
|
|
<th>:{{e.name}}:</th>
|
2017-07-27 04:25:09 +08:00
|
|
|
<th><button {{action "destroy" e}} class='btn btn-danger no-text pull-right'>{{d-icon 'trash-o'}} </button></th>
|
2014-12-23 08:12:26 +08:00
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|