zulip/static/templates/admin_emoji_list.handlebars

25 lines
703 B
Handlebars

{{#with emoji}}
<tr class="emoji_row" id="emoji_{{name}}">
<td>
<span class="emoji_name">{{name}}</span>
</td>
<td>
<span class="emoji_image"><a href="{{source_url}}"><img src="{{source_url}}" alt="{{name}}" /></a></span>
</td>
<td>
{{#if author}}
<span class="emoji_author">{{author.full_name}}</span>
{{else}}
<span class="emoji_author">Unknown Author</span>
{{/if}}
</td>
{{#if is_admin}}
<td>
<button class="button white rounded small delete btn-danger" data-emoji-name="{{name}}">
<i class="icon-vector-trash" aria-hidden="true"></i>
</button>
</td>
{{/if}}
</tr>
{{/with}}