mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:18:24 +08:00
f9648de897
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com> Co-Authored-By: David Taylor <david@taylorhq.com>
31 lines
862 B
Handlebars
31 lines
862 B
Handlebars
<div class='emoji'>
|
|
<h2>{{i18n 'admin.emoji.title'}}</h2>
|
|
|
|
<p class="desc">{{i18n 'admin.emoji.help'}}</p>
|
|
|
|
<p>{{emoji-uploader done=(action "emojiUploaded")}}</p>
|
|
|
|
{{#if sortedEmojis}}
|
|
<div>
|
|
<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|}}
|
|
<tr>
|
|
<th><img class="emoji emoji-custom" 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'>{{d-icon 'trash-o'}} </button></th>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|