2024-09-11 20:46:53 +02:00
|
|
|
<div id="subscription_overlay" class="overlay" data-overlay="subscriptions">
|
2017-03-13 19:12:56 +01:00
|
|
|
<div class="flex overlay-content">
|
2023-10-16 17:49:57 +02:00
|
|
|
<div class="subscriptions-container overlay-container">
|
2016-11-01 22:32:10 +01:00
|
|
|
<div class="subscriptions-header">
|
2017-06-08 07:09:57 +02:00
|
|
|
<div class="fa fa-chevron-left"></div>
|
2024-04-18 18:36:57 +02:00
|
|
|
<span class="subscriptions-title">{{t 'Channels' }}</span>
|
2016-11-01 22:32:10 +01:00
|
|
|
<div class="exit">
|
|
|
|
<span class="exit-sign">×</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="left">
|
2023-09-19 09:12:48 +02:00
|
|
|
<div class="list-toggler-container">
|
2021-05-03 20:50:04 +02:00
|
|
|
<div id="add_new_subscription">
|
2016-11-01 22:32:10 +01:00
|
|
|
{{#if can_create_streams}}
|
2023-04-08 22:57:06 +02:00
|
|
|
<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">
|
2024-07-26 00:48:08 +02:00
|
|
|
<span class="create_button_plus_sign">+</span>
|
2021-10-06 13:27:54 +02:00
|
|
|
</button>
|
2016-11-01 22:32:10 +01:00
|
|
|
{{/if}}
|
|
|
|
<div class="float-clear"></div>
|
2021-05-03 20:50:04 +02:00
|
|
|
</div>
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
2020-03-21 19:12:23 +01:00
|
|
|
<div class="input-append stream_name_search_section" id="stream_filter">
|
2023-06-23 13:22:29 +02:00
|
|
|
<input type="text" name="stream_name" id="search_stream_name" class="filter_text_input" autocomplete="off"
|
2024-04-18 18:36:57 +02:00
|
|
|
placeholder="{{t 'Filter channels' }}" value=""/>
|
2024-11-14 11:03:08 +01:00
|
|
|
<button type="button" class="bootstrap-btn clear_search_button" id="clear_search_stream_name">
|
2020-03-21 19:12:23 +01:00
|
|
|
<i class="fa fa-remove" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
2023-03-25 14:10:45 +01:00
|
|
|
<div class="no-streams-to-show">
|
|
|
|
<div class="subscribed_streams_tab_empty_text">
|
2024-07-26 02:01:52 +02:00
|
|
|
<span class="settings-empty-option-text">
|
2024-04-18 18:36:57 +02:00
|
|
|
{{t 'You are not subscribed to any channels.'}}
|
2023-03-25 14:10:45 +01:00
|
|
|
{{#if can_view_all_streams}}
|
2024-04-30 13:30:24 +02:00
|
|
|
<a href="#channels/all">{{t 'View all channels'}}</a>
|
2023-03-25 14:10:45 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2024-05-08 18:19:04 +02:00
|
|
|
<div class="not_subscribed_streams_tab_empty_text">
|
2024-07-26 02:01:52 +02:00
|
|
|
<span class="settings-empty-option-text">
|
2024-05-08 18:19:04 +02:00
|
|
|
{{t 'No channels to show.'}}
|
|
|
|
<a href="#channels/all">{{t 'View all channels'}}</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
2024-07-24 13:38:56 +02:00
|
|
|
<div class="no_stream_match_filter_empty_text">
|
|
|
|
<span class="settings-empty-option-text">
|
|
|
|
{{t 'No channels match your filter.'}}
|
|
|
|
</span>
|
|
|
|
</div>
|
2023-03-25 14:10:45 +01:00
|
|
|
<div class="all_streams_tab_empty_text">
|
2024-07-26 02:01:52 +02:00
|
|
|
<span class="settings-empty-option-text">
|
2024-04-18 18:36:57 +02:00
|
|
|
{{t 'There are no channels you can view in this organization.'}}
|
2023-03-25 14:10:45 +01:00
|
|
|
{{#if can_create_streams}}
|
2024-04-30 13:30:24 +02:00
|
|
|
<a href="#channels/new">{{t 'Create a channel'}}</a>
|
2023-03-25 14:10:45 +01:00
|
|
|
{{/if}}
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-06-16 13:46:37 +02:00
|
|
|
<div class="streams-list" data-simplebar data-simplebar-tab-index="-1">
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="right">
|
|
|
|
<div class="display-type">
|
2024-04-18 18:36:57 +02:00
|
|
|
<div id="stream_settings_title" class="stream-info-title">{{t 'Channel settings' }}</div>
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
|
|
|
<div class="nothing-selected">
|
2024-11-02 05:51:21 +01:00
|
|
|
<div class="stream-info-banner"></div>
|
|
|
|
<div class="create-stream-button-container">
|
|
|
|
<button type="button" class="create_stream_button animated-purple-button" {{#unless can_create_streams}}disabled{{/unless}}>{{t 'Create channel' }}</button>
|
|
|
|
{{#unless can_create_streams}}
|
|
|
|
<span class="settings-empty-option-text">
|
2024-11-02 10:13:55 +01:00
|
|
|
{{t 'You do not have permission to create channels.' }}
|
2024-11-02 05:51:21 +01:00
|
|
|
</span>
|
|
|
|
{{/unless}}
|
|
|
|
</div>
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
2024-06-16 13:46:37 +02:00
|
|
|
<div id="stream_settings" class="settings" data-simplebar data-simplebar-tab-index="-1" data-simplebar-auto-hide="false">
|
2017-05-10 20:02:21 +02:00
|
|
|
{{!-- edit stream here --}}
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
2024-11-16 03:24:11 +01:00
|
|
|
{{> stream_creation_form . }}
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-10-28 02:44:40 +02:00
|
|
|
</div>
|
|
|
|
</div>
|