2015-11-03 09:37:07 +01:00
|
|
|
|
{% load i18n %}
|
2012-12-05 22:48:15 +01:00
|
|
|
|
<div class="modal hide" id="invite-user" tabindex="-1" role="dialog"
|
|
|
|
|
aria-labelledby="invite-user-label" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2015-11-03 09:37:07 +01:00
|
|
|
|
<h3 id="invite-user-label">{% trans 'Invite coworkers to' %} {{product_name}}</h3>
|
2012-12-05 22:48:15 +01:00
|
|
|
|
</div>
|
|
|
|
|
<form id="invite_user_form" class="form-horizontal"
|
|
|
|
|
action="/json/invite_users" method="POST">{% csrf_token %}
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<div id="invite-result"></div>
|
2015-11-03 09:37:07 +01:00
|
|
|
|
<label class="control-label" for="invitee_emails">{% trans 'Emails (one on each line or comma-separated)' %}</label>
|
2012-12-05 22:48:15 +01:00
|
|
|
|
<div class="controls">
|
|
|
|
|
<textarea rows="2" id="invitee_emails"
|
|
|
|
|
name="invitee_emails"
|
|
|
|
|
placeholder="One or more email addresses..."></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="alert" id="invite_status"></div>
|
|
|
|
|
<div class="control-group">
|
2015-11-03 09:37:07 +01:00
|
|
|
|
<label class="control-label" for="streams_to_add">{% trans 'Streams they should join' %}</label>
|
2012-12-05 22:48:15 +01:00
|
|
|
|
<div class="controls" id="streams_to_add"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
2015-11-03 09:37:07 +01:00
|
|
|
|
<button class="btn btn-default" data-dismiss="modal" aria-hidden="true">{% trans 'Cancel' %}</button>
|
|
|
|
|
<button id="submit-invitation" class="btn btn-primary" data-loading-text="Inviting..." type="submit">{% trans 'Invite' %}</button>
|
2012-12-05 22:48:15 +01:00
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|