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' }}">
|
2017-02-15 21:10:53 +01:00
|
|
|
<form id="stream_creation_form" class="form-inline">
|
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>
|
2017-02-15 21:10:53 +01:00
|
|
|
<div class="stream-creation-body">
|
|
|
|
<section class="block">
|
2017-08-08 18:51:42 +02:00
|
|
|
<div class="stream-title">
|
2017-02-15 21:10:53 +01:00
|
|
|
{{t "Stream name" }}
|
|
|
|
</div>
|
|
|
|
<input type="text" name="stream_name" id="create_stream_name"
|
2018-04-30 11:48:00 +02:00
|
|
|
placeholder="{{t 'Stream name' }}" value="" autocomplete="off" maxlength="{{ max_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">
|
2017-08-08 18:51:42 +02:00
|
|
|
<div class="stream-title">
|
2020-08-14 03:49:37 +02:00
|
|
|
{{t "Stream description" }}
|
2017-08-08 18:51:42 +02:00
|
|
|
</div>
|
2019-02-20 18:36:46 +01:00
|
|
|
<input type="text" name="stream_description" id="create_stream_description"
|
|
|
|
placeholder="{{t 'Stream description' }}" value="" autocomplete="off" maxlength="{{ max_description_length }}" />
|
2017-02-15 21:10:53 +01:00
|
|
|
</section>
|
|
|
|
<section class="block" id="make-invite-only">
|
2017-08-08 18:51:42 +02:00
|
|
|
<div class="stream-title">
|
2018-06-24 03:38:58 +02:00
|
|
|
{{t "Stream permissions" }}
|
2017-02-15 21:10:53 +01:00
|
|
|
</div>
|
2017-06-10 17:05:52 +02:00
|
|
|
<div class="stream-creation-info">
|
2020-05-26 05:15:21 +02:00
|
|
|
{{t 'These settings are explained in detail in the <a target="_blank" rel="noopener noreferrer" href="/help/stream-permissions">help center</a>.'}}
|
2017-06-10 17:05:52 +02:00
|
|
|
</div>
|
2018-05-03 18:52:39 +02:00
|
|
|
|
2020-07-10 14:25:21 +02:00
|
|
|
{{> stream_types
|
|
|
|
stream_privacy_policy=stream_privacy_policy_values.everyone.code
|
|
|
|
stream_post_policy=stream_post_policy_values.everyone.code
|
|
|
|
is_stream_edit=false }}
|
2018-05-03 18:52:39 +02:00
|
|
|
|
2017-02-15 21:10:53 +01:00
|
|
|
<div id="announce-new-stream">
|
|
|
|
<label class="checkbox">
|
|
|
|
<input type="checkbox" name="announce" value="announce" checked />
|
|
|
|
<span></span>
|
|
|
|
{{t "Announce stream" }}
|
|
|
|
</label>
|
2017-12-28 18:56:10 +01:00
|
|
|
<span class="fa fa-question-circle settings-info-icon" aria-hidden="true" id="announce-stream-docs"></span>
|
2017-02-15 21:10:53 +01:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<section class="block">
|
2017-08-08 18:51:42 +02:00
|
|
|
<label class="stream-title" for="people_to_add">
|
2017-02-15 21:10:53 +01:00
|
|
|
{{t "People to add" }}
|
|
|
|
</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>
|
|
|
|
<button class="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>
|