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">
{{ t "Stream description (optional)" }}
</div>
2017-02-15 21:10:53 +01:00
<textarea name="stream_description" id="create_stream_description"
2018-04-30 11:48:00 +02:00
placeholder=" {{ t 'Stream description' }} " value="" autocomplete="off" maxlength=" {{ max_description_length }} "></textarea>
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">
2017-02-15 21:10:53 +01:00
{{ t "Stream accessibility" }}
</div>
2017-06-10 17:05:52 +02:00
<div class="stream-creation-info">
{{ # tr this }}
2018-03-25 19:04:58 +02:00
For more information on public/private streams, check out our <a target="_blank" href="https://zulip.readthedocs.io/en/latest/production/security-model.html?highlight=private#messages-and-history">docs</a>.
2017-06-10 17:05:52 +02:00
{{ / tr }}
</div>
2018-05-03 18:52:39 +02:00
2018-05-24 13:50:17 +02:00
{{ partial "stream_types" "is_public" true }}
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>