zulip/web/templates/settings/admin_emoji_list.hbs

29 lines
1.0 KiB
Handlebars
Raw Normal View History

{{#with emoji}}
<tr class="emoji_row" id="emoji_{{name}}">
<td>
<span class="emoji_name">{{display_name}}</span>
</td>
<td>
<span class="emoji_image">
<a href="{{source_url}}" target="_blank" rel="noopener noreferrer">
<img class="emoji" src="{{source_url}}" alt="{{display_name}}" />
</a>
</span>
</td>
<td>
{{#if author}}
{{#with author}}
<span class="emoji_author panel_user_list">{{> ../user_display_only_pill . display_value=full_name img_src=avatar_url}}</span>
{{/with}}
{{else}}
<span class="emoji_author">{{t "Unknown author" }}</span>
{{/if}}
</td>
<td>
<button class="button rounded small delete button-danger tippy-zulip-delayed-tooltip" {{#unless can_delete_emoji}}disabled="disabled"{{/unless}} data-tippy-content="{{t 'Delete' }}" data-emoji-name="{{name}}">
<i class="fa fa-trash-o" aria-hidden="true"></i>
</button>
</td>
</tr>
{{/with}}