zulip/templates/zerver/stream_creation_prompt.html

43 lines
2.0 KiB
HTML
Raw Normal View History

{% load i18n %}
<div class="modal hide" id="stream-creation" tabindex="-1" role="dialog"
aria-labelledby="stream-creation-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="stream-creation-label">{% blocktrans %}Create stream{% endblocktrans %} <span id="stream_name"></span></h3>
</div>
<form id="stream_creation_form" class="form-inline">
<div class="modal-body">
<div id="make-invite-only">
<b>{% blocktrans %}Stream accessibility{% endblocktrans %}</b><br />
<label class="radio">
<input type="radio" name="privacy" value="public" checked />
<span class="icon-vector-globe"></span>
{% blocktrans %}Anyone can join{% endblocktrans %}
</label><br />
<label class="radio">
<input type="radio" name="privacy" value="invite-only" />
<span class="icon-vector-lock"></span>
{% blocktrans %}People must be invited{% endblocktrans %}
</label>
</div>
<div id="announce-new-stream">
<br />
<label class="checkbox">
<input type="checkbox" name="announce" value="announce" checked />
{% blocktrans %}Announce stream{% endblocktrans %}
</label>
<span class="icon-vector-question-sign" id="announce-stream-docs"></span>
</div>
<br />
<div class="control-group">
<label class="control-label" for="people_to_add"><b>{% blocktrans %}People to add{% endblocktrans %}</b></label><br />
<div class="controls" id="people_to_add"></div>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">{% trans "Cancel" %}</button>
<button class="btn btn-primary" type="submit">{% trans "Create" %}</button>
</div>
</form>
</div>