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">
|
2018-01-16 18:31:15 +01:00
|
|
|
<div class="alert stream_create_info"></div>
|
2017-11-04 19:19:12 +01:00
|
|
|
<div id="stream_creating_indicator"></div>
|
2022-09-13 16:21:37 +02:00
|
|
|
<div class="stream-creation-body" data-simplebar>
|
2017-02-15 21:10:53 +01:00
|
|
|
<section class="block">
|
2022-03-03 23:02:46 +01:00
|
|
|
<label for="create_stream_name">
|
2017-02-15 21:10:53 +01:00
|
|
|
{{t "Stream name" }}
|
2022-03-03 23:02:46 +01:00
|
|
|
</label>
|
2023-03-27 11:12:47 +02:00
|
|
|
<input type="text" name="stream_name" id="create_stream_name" class="settings_text_input"
|
2022-07-15 01:59:30 +02:00
|
|
|
placeholder="{{t 'Stream name' }}" value="" autocomplete="off" maxlength="{{ max_stream_name_length }}" />
|
2018-01-21 09:34:50 +01:00
|
|
|
<div id="stream_name_error" class="stream_creation_error"></div>
|
2017-02-15 21:10:53 +01:00
|
|
|
</section>
|
|
|
|
<section class="block">
|
2022-03-03 23:02:46 +01:00
|
|
|
<label for="create_stream_description">
|
2020-08-14 03:49:37 +02:00
|
|
|
{{t "Stream description" }}
|
2022-11-03 00:19:53 +01:00
|
|
|
{{> ../help_link_widget link="/help/change-the-stream-description" }}
|
2022-03-03 23:02:46 +01:00
|
|
|
</label>
|
2023-03-27 11:12:47 +02:00
|
|
|
<input type="text" name="stream_description" id="create_stream_description" class="settings_text_input"
|
2022-07-15 01:59:30 +02:00
|
|
|
placeholder="{{t 'Stream description' }}" value="" autocomplete="off" maxlength="{{ max_stream_description_length }}" />
|
2017-02-15 21:10:53 +01:00
|
|
|
</section>
|
2023-03-22 16:50:49 +01:00
|
|
|
{{#if ask_to_announce_stream}}
|
|
|
|
<div id="announce-new-stream">
|
|
|
|
{{>announce_stream_checkbox }}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2017-02-15 21:10:53 +01:00
|
|
|
<section class="block" id="make-invite-only">
|
2021-11-22 17:11:57 +01:00
|
|
|
<div class="stream-types">
|
2023-03-22 16:50:49 +01:00
|
|
|
<h3 class="stream_setting_subsection_title">{{t "Stream permissions" }}</h3>
|
2021-11-22 17:11:57 +01:00
|
|
|
{{> stream_types
|
|
|
|
stream_post_policy=stream_post_policy_values.everyone.code
|
2022-12-30 10:55:10 +01:00
|
|
|
is_stream_edit=false
|
|
|
|
can_remove_subscribers_setting_widget_name="new_stream_can_remove_subscribers_group_id" }}
|
2021-11-22 17:11:57 +01:00
|
|
|
</div>
|
2017-02-15 21:10:53 +01:00
|
|
|
</section>
|
|
|
|
<section class="block">
|
2022-03-11 00:27:50 +01:00
|
|
|
<label for="people_to_add">
|
|
|
|
<h4 class="stream_setting_subsection_title">{{t "Choose subscribers" }}</h4>
|
2017-02-15 21:10:53 +01:00
|
|
|
</label>
|
2018-01-21 09:34:50 +01:00
|
|
|
<div id="stream_subscription_error" class="stream_creation_error"></div>
|
2017-02-15 21:10:53 +01:00
|
|
|
<div class="controls" id="people_to_add"></div>
|
|
|
|
</section>
|
|
|
|
</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>
|