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.7 KB
Raw Blame
<div id="admin-default-channels-list" class="settings-section" data-name="default-channels-list">
    <p>{{t "Configure the default channels new users are subscribed to when joining your organization." }}</p>

    <div class="settings_panel_list_header">
        <h3 class="settings-table-title">{{t "Default channels"}}</h3>
        <div class="add_default_streams_button_container">
            {{> ../components/action_button
              id="show-add-default-streams-modal"
              label=(t "Add channel")
              variant="subtle"
              intent="brand"
              type="submit"
              hidden=(not is_admin)
              }}
            {{> filter_text_input placeholder=(t 'Filter') aria_label=(t 'Filter default channels')}}
        </div>
    </div>

    <div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">
        <table class="table table-striped wrapped-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="actions{{#unless is_admin}} hide{{/unless}}"></th>
                </tr>
            </thead>
            <tbody data-empty="{{t 'There are no default channels.' }}" data-search-results-empty="{{t 'No default channels match your current filter.' }}"
              id="admin_default_streams_table" class="admin_default_stream_table"></tbody>
        </table>
    </div>

    <div id="admin_page_default_streams_loading_indicator"></div>
</div>