zulip/static/templates/settings/default-streams-list-admin....

41 lines
1.8 KiB
Handlebars
Raw Normal View History

<div id="admin-default-streams-list" class="settings-section" data-name="default-streams-list">
<input type="text" class="search" placeholder="{{t 'Filter streams' }}" />
2017-05-09 22:09:31 +02:00
<div class="clear-float"></div>
<div class="side-padded-container">
<p>{{#tr this}}Configure the default streams new users are subscribed to when joining your organization.{{/tr}}</p>
</div>
{{#if is_admin}}
<form class="form-horizontal default-stream-form">
<div class="add-new-default-stream-box grey-bg">
<div class="new-default-stream-section-title">{{t "Add new default stream" }}</div>
<div class="control-group" id="default_stream_inputs">
<label for="default_stream_name" class="control-label">{{t "Stream name" }}</label>
<input class="create_default_stream" type="text" placeholder="{{t "Stream name" }}" name="stream_name" autocomplete="off"></input>
</div>
<div class="control-group">
<div class="controls">
<button type="submit" id="do_submit_stream" class="button white rounded sea-green">{{t "Add stream" }}</button>
</div>
</div>
</div>
</form>
{{/if}}
<div class="progressive-table-wrapper">
<table class="table table-condensed table-striped">
<thead>
<th>{{t "Name" }}</th>
{{#if is_admin}}
<th class="actions">{{t "Actions" }}</th>
{{/if}}
</thead>
<tbody class="required-text" data-empty="{{t 'No default streams match you 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>