zulip/web/templates/stream_settings/stream_settings_overlay.hbs

73 lines
3.7 KiB
Handlebars
Raw Normal View History

<div id="subscription_overlay" class="overlay new-style" data-overlay="subscriptions">
<div class="flex overlay-content">
<div class="subscriptions-container modal-bg">
<div class="subscriptions-header">
<div class="fa fa-chevron-left"></div>
<span class="subscriptions-title">{{t 'Streams' }}</span>
<div class="exit">
<span class="exit-sign">&times;</span>
</div>
</div>
<div class="left">
<div class="search-container">
2021-05-03 20:50:04 +02:00
<div id="add_new_subscription">
{{#if can_create_streams}}
<button class="create_stream_button create_stream_plus_button tippy-zulip-delayed-tooltip" data-tooltip-template-id="create-new-stream-tooltip-template" data-tippy-placement="bottom">
<span>+</span>
</button>
{{/if}}
<div class="float-clear"></div>
2021-05-03 20:50:04 +02:00
</div>
</div>
<div class="input-append stream_name_search_section" id="stream_filter">
<input type="text" name="stream_name" id="search_stream_name" class="filter_text_input" autocomplete="off"
2021-05-03 20:50:04 +02:00
placeholder="{{t 'Filter streams' }}" value=""/>
<button type="button" class="btn clear_search_button" id="clear_search_stream_name">
<i class="fa fa-remove" aria-hidden="true"></i>
</button>
</div>
<div class="no-streams-to-show">
<div class="subscribed_streams_tab_empty_text">
<span>
{{t 'You are not subscribed to any streams.'}}
{{#if can_view_all_streams}}
<a href="#streams/all">{{t 'View all streams'}}</a>
{{/if}}
</span>
</div>
<div class="all_streams_tab_empty_text">
<span>
{{t 'There are no streams you can view in this organization.'}}
{{#if can_create_streams}}
<a href="#streams/new">{{t 'Create a stream'}}</a>
{{/if}}
</span>
</div>
</div>
<div class="streams-list" data-simplebar>
</div>
</div>
<div class="right">
<div class="display-type">
<div id="stream_settings_title" class="stream-info-title">{{t 'Stream settings' }}</div>
</div>
<div class="nothing-selected">
{{#if can_create_streams}}
<button type="button" class="create_stream_button animated-purple-button">{{t 'Create stream' }}</button>
<span>
{{#tr}}
First time? Read our <z-link>guidelines</z-link> for creating and naming streams.
{{#*inline "z-link"}}<a href="/help/getting-your-organization-started-with-zulip#create-streams" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}}
</span>
{{/if}}
</div>
<div id="stream_settings" class="settings" data-simplebar data-simplebar-auto-hide="false">
{{!-- edit stream here --}}
</div>
{{> stream_creation_form }}
</div>
</div>
</div>
</div>