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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
916 B
Handlebars
Raw Normal View History

2014-12-22 19:12:26 -05:00
<div class='emoji'>
<h2>{{i18n 'admin.emoji.title'}}</h2>
<p class="desc">{{i18n 'admin.emoji.help'}}</p>
<p>{{emoji-uploader done=(action "emojiUploaded")}}</p>
2014-12-22 19:12:26 -05:00
{{#if sortedEmojis}}
2018-02-14 12:26:05 -05:00
<div>
2014-12-22 19:12:26 -05:00
<table id="custom_emoji">
<thead>
<tr>
<th>{{i18n "admin.emoji.image"}}</th>
<th>{{i18n "admin.emoji.name"}}</th>
<th></th>
</tr>
</thead>
<tbody>
{{#each sortedEmojis as |e|}}
2014-12-22 19:12:26 -05:00
<tr>
<th><img class="emoji emoji-custom" src={{e.url}} title={{e.name}}></th>
2014-12-22 19:12:26 -05:00
<th>:{{e.name}}:</th>
<th>
{{d-button
action=(action "destroy" e)
class="btn-danger pull-right"
icon="far-trash-alt"}}
</th>
2014-12-22 19:12:26 -05:00
</tr>
{{/each}}
</tbody>
</table>
</div>
{{/if}}
</div>