mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			37 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
<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>{{t "Default channels"}}</h3>
 | 
						|
        <div class="add_default_streams_button_container">
 | 
						|
            {{#if is_admin}}
 | 
						|
                {{> ../components/action_button
 | 
						|
                  id="show-add-default-streams-modal"
 | 
						|
                  label=(t "Add channel")
 | 
						|
                  attention="quiet"
 | 
						|
                  intent="brand"
 | 
						|
                  type="submit"
 | 
						|
                  }}
 | 
						|
            {{/if}}
 | 
						|
            {{> 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">
 | 
						|
                <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>
 | 
						|
                {{#if is_admin}}
 | 
						|
                <th class="actions">{{t "Actions" }}</th>
 | 
						|
                {{/if}}
 | 
						|
            </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>
 |