mirror of https://github.com/zulip/zulip.git
parent
1238d08f72
commit
3cb7d665da
|
@ -173,7 +173,8 @@ exports.populate_emoji = function (emoji_data) {
|
|||
emoji_table.append(templates.render('admin_emoji_list', {
|
||||
emoji: {
|
||||
name: name, source_url: data.source_url,
|
||||
display_url: data.display_url
|
||||
display_url: data.display_url,
|
||||
author: data.author
|
||||
}
|
||||
}));
|
||||
});
|
||||
|
|
|
@ -6,6 +6,13 @@
|
|||
<td>
|
||||
<span class="emoji_image"><a href="{{source_url}}"><img src="{{display_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>
|
||||
<td>
|
||||
<button class="button delete btn-danger" data-emoji-name="{{name}}">
|
||||
{{t "Delete" }}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<tbody id="admin_emoji_table">
|
||||
<th>{{t "Name" }}</th>
|
||||
<th class="image">{{t "Image" }}</th>
|
||||
<th class="image">{{t "Author" }}</th>
|
||||
<th class="actions">{{t "Actions" }}</th>
|
||||
</tbody>
|
||||
</table>
|
||||
|
|
Loading…
Reference in New Issue