2016-11-01 22:32:10 +01:00
|
|
|
<div class="hide" id="stream-creation" tabindex="-1" role="dialog"
|
2018-04-05 08:38:46 +02:00
|
|
|
aria-label="{{t 'Stream creation' }}">
|
2021-06-18 16:47:06 +02:00
|
|
|
<form id="stream_creation_form">
|
2023-05-11 17:28:19 +02:00
|
|
|
<div class="stream-creation-simplebar-container" data-simplebar>
|
|
|
|
<div class="alert stream_create_info"></div>
|
|
|
|
<div id="stream_creating_indicator"></div>
|
|
|
|
<div class="stream-creation-body">
|
|
|
|
<section class="block">
|
|
|
|
<label for="create_stream_name">
|
|
|
|
{{t "Stream name" }}
|
|
|
|
</label>
|
|
|
|
<input type="text" name="stream_name" id="create_stream_name" class="settings_text_input"
|
|
|
|
placeholder="{{t 'Stream name' }}" value="" autocomplete="off" maxlength="{{ max_stream_name_length }}" />
|
|
|
|
<div id="stream_name_error" class="stream_creation_error"></div>
|
|
|
|
</section>
|
|
|
|
<section class="block">
|
|
|
|
<label for="create_stream_description">
|
|
|
|
{{t "Stream description" }}
|
|
|
|
{{> ../help_link_widget link="/help/change-the-stream-description" }}
|
|
|
|
</label>
|
|
|
|
<input type="text" name="stream_description" id="create_stream_description" class="settings_text_input"
|
|
|
|
placeholder="{{t 'Stream description' }}" value="" autocomplete="off" maxlength="{{ max_stream_description_length }}" />
|
|
|
|
</section>
|
|
|
|
{{#if ask_to_announce_stream}}
|
|
|
|
<div id="announce-new-stream">
|
|
|
|
{{>announce_stream_checkbox }}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
<section class="block" id="make-invite-only">
|
|
|
|
<div class="stream-types">
|
|
|
|
<h3 class="stream_setting_subsection_title">{{t "Stream permissions" }}</h3>
|
|
|
|
{{> stream_types
|
|
|
|
stream_post_policy=stream_post_policy_values.everyone.code
|
|
|
|
is_stream_edit=false
|
|
|
|
can_remove_subscribers_setting_widget_name="new_stream_can_remove_subscribers_group_id" }}
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="block">
|
|
|
|
<label for="people_to_add">
|
|
|
|
<h4 class="stream_setting_subsection_title">{{t "Choose subscribers" }}</h4>
|
|
|
|
</label>
|
|
|
|
<div id="stream_subscription_error" class="stream_creation_error"></div>
|
|
|
|
<div class="controls" id="people_to_add"></div>
|
|
|
|
</section>
|
|
|
|
</div>
|
2017-02-15 21:10:53 +01:00
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2017-09-29 19:20:44 +02:00
|
|
|
<button class="button small white rounded" data-dismiss="modal">{{t "Cancel" }}</button>
|
2022-02-15 21:16:10 +01:00
|
|
|
<button class="finalize_create_stream button small sea-green rounded" type="submit">{{t "Create" }}</button>
|
2017-02-15 21:10:53 +01:00
|
|
|
</div>
|
|
|
|
</form>
|
2016-11-01 22:32:10 +01:00
|
|
|
</div>
|