2013-07-29 23:03:31 +02:00
{% extends "zerver/portico.html" %}
2013-07-11 21:40:52 +02:00
{# A landing page for the first user in a realm, prompting her to invite her colleages. #}
{% block for_you %}for {{company_name}} {% endblock %}
{% block customhead %}
2016-04-21 08:48:33 +02:00
{{ super() }}
{{ minified_js('initial_invite')|safe }}
2013-07-11 21:40:52 +02:00
2016-04-08 20:44:49 +02:00
< script type = "text/javascript" >
var invite_suffix = "{{invite_suffix}}";
< / script >
2013-07-11 21:40:52 +02:00
{% endblock %}
{% block portico_content %}
2016-04-21 08:48:33 +02:00
< h1 style = "margin-top:30px;" > {{ _("You're the first one here!")|safe }}< / h1 >
2013-07-11 21:40:52 +02:00
< p >
2016-04-21 08:48:33 +02:00
{{ _("Let's invite some folks for you to chat with") }}:
2013-07-11 21:40:52 +02:00
< / p >
2016-06-20 21:58:59 +02:00
{% if development_environment %}
< div class = "alert alert-info" style = "display:inline-block;" > {{ _("In the Zulip development environment, outgoing emails are printed to the run-dev.py console") }}< / div >
{% endif %}
2013-07-11 21:40:52 +02:00
< div id = "invite_rows" >
< form id = "invite_form" >
2016-04-21 08:48:33 +02:00
{{ csrf_input }}
2013-07-11 21:40:52 +02:00
< div class = "invite_row" > < input name = "email_1" class = "invite_email" type = {% if not invite_suffix % } " email " { % else % } " text " { % endif % } / > {% if invite_suffix %}@{{invite_suffix}}{% endif %}< / div >
2016-04-21 08:48:33 +02:00
< p id = "invite_blurb" > ({{ _("We'll email invitations to them") }})< / p >
2013-07-11 21:40:52 +02:00
< div class = "alert" id = "invite_error" style = "display: none;" >
< / div >
2016-04-21 08:48:33 +02:00
< button id = "submit_invitation" class = "btn btn-primary" data-loading-text = "Next" > {{ _('Next') }} »< / button >
2013-07-11 21:40:52 +02:00
< / form >
< / div >
2014-02-27 22:58:10 +01:00
{% endblock %}