Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

1.8 KB
Raw Blame
<div id="emoji-settings" data-name="emoji-settings" class="settings-section">
    <div class="emoji-settings-tip-container {{#if can_add_emojis}}hide{{/if}}">
        <div class="tip">{{t "You do not have permission to add custom emoji."}}</div>
    </div>
    <p class="add-emoji-text {{#unless can_add_emojis}}hide{{/unless}}">
        {{t "Add extra emoji for members of the {realm_name} organization." }}
    </p>
    {{> ../components/action_button
      id="add-custom-emoji-button"
      variant="subtle"
      intent="brand"
      label=(t "Add a new emoji")
      hidden=(not can_add_emojis)
      }}

    <div class="settings_panel_list_header">
        <h3 class="settings-table-title">{{t "Custom emoji"}}</h3>
        {{> filter_text_input placeholder=(t 'Filter') aria_label=(t 'Filter emoji')}}
    </div>
    <div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">
        <table class="table table-striped wrapped-table admin_emoji_table">
            <thead class="table-sticky-headers">
                <tr>
                    <th class="active" data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}
                        <i class="table-sortable-arrow zulip-icon zulip-icon-sort-arrow-down"></i>
                    </th>
                    <th class="image">{{t "Image" }}</th>
                    <th class="image" data-sort="author_full_name">{{t "Author" }}
                        <i class="table-sortable-arrow zulip-icon zulip-icon-sort-arrow-down"></i>
                    </th>
                    <th class="actions">{{t "Actions" }}</th>
                </tr>
            </thead>
            <tbody id="admin_emoji_table" data-empty="{{t 'There are no custom emoji.' }}" data-search-results-empty="{{t 'No custom emojis match your current filter.' }}"></tbody>
        </table>
    </div>
</div>