{% extends "invite.html" %} {% set onload = "onload();" %} {% set body_id = "invite" %} {% from "library.j2" import action_button %} {% block head_lead %} {% trans site_name=config["SITE_NAME"] %}Invite to {{ site_name }} | Snikket{% endtrans %} {% endblock %} {% block content %}

{% trans site_name=config["SITE_NAME"] %}Invite to {{ site_name }}{% endtrans %}

{% trans logo_url=url_for("static", filename="img/snikket-logo-text.svg") %}Powered by Snikket{% endtrans %}
{%- if invite.inviter -%}

{% trans site_name=config["SITE_NAME"], inviter_name=invite.inviter %}You have been invited to chat with {{ inviter_name }} using Snikket, a secure, privacy-friendly chat app on {{ site_name }}.{% endtrans %}

{%- else -%}

{% trans site_name=config["SITE_NAME"] %}You have been invited to chat on {{ site_name }} using Snikket, a secure, privacy-friendly chat app.{% endtrans %}

{%- endif -%} {%- if config["TOS_URI"] and config["PRIVACY_URI"] -%}

{% trans site_name=config["SITE_NAME"], tos_uri=config["TOS_URI"], privacy_uri=config["PRIVACY_URI"] %}By continuing, you agree to the Terms of Service and Privacy Policy.{% endtrans %}

{%- endif -%}

{% trans %}Get started{% endtrans %}

{%- if apple_store_url -%}

{% trans %}Install the Snikket App on your Android or iOS device.{% endtrans %}

{%- else -%}

{% trans ios_info_url="https://snikket.org/faq/#is-there-an-ios-app" %}Install the Snikket App on your Android device (iOS coming soon!).{% endtrans %}

{%- endif -%}
{%- call standard_button("qrcode", "#qr-modal", class="primary", onclick="open_modal(this); return false;") -%} {% trans %}Send to mobile device{% endtrans %} {%- endcall -%}

{% trans %}After installation the app should automatically open and prompt you to create an account. If not, simply click the button below.{% endtrans %}

{% trans %}App already installed?{% endtrans %}

{%- call standard_button("exit_to_app", invite.xmpp_uri, class="secondary") -%} {% trans %}Open the app{% endtrans %} {%- endcall -%}

{% trans %}This button works only if you have the app installed already!{% endtrans %}

{% trans %}Alternatives{% endtrans %}

{% trans register_url=url_for(".register", id_=invite_id) %}You can connect to Snikket using any XMPP-compatible software. If the button above does not work with your app, you may need to register an account manually.{% endtrans %}

{%- if apple_store_url -%} {%- endif -%} {% endblock %}