{% extends "orga/base.html" %} {% comment %} SPDX-FileCopyrightText: 2017-present Tobias Kunze SPDX-License-Identifier: AGPL-3.0-only WITH LicenseRef-Pretalx-AGPL-3.0-Terms {% endcomment %} {% load i18n %} {% block extra_title %}{% translate "Invitation" %} :: {{ invitation.team.name }} :: {% endblock extra_title %} {% block content %}

{% blocktranslate with organiser=invitation.team.organiser.name name=invitation.team.name trimmed %} Invitation to the {{ organiser }} team “{{ name }}” {% endblocktranslate %}

{% if request.user.is_anonymous %}

{% blocktranslate trimmed with name=invitation.team.name link=request.path %} You have been invited to join the organiser team {{ name }}. {% endblocktranslate %}

{% with host=request.get_host %} {% blocktranslate trimmed with link=''|add:host|add:''|safe %} If you already have an account – either as a speaker or an organiser – at {{ link }}, please log in now. Otherwise, create a new account to join the team! {% endblocktranslate %} {% endwith %}


{% csrf_token %} {{ form }}
{% else %}
{% csrf_token %}

{% blocktranslate trimmed with name=invitation.team.name %} You have been invited to join the organiser team {{ name }}. {% endblocktranslate %} {% with link=request.path|urlencode %} {% blocktranslate trimmed with link_start=''|safe link_end=''|safe %} To accept the invitation with the account you’re currently active, please use the button below. If you want to accept the invitation with a different account, you can {{ link_start }}log out{{ link_end }} and log in with the other account. {% endblocktranslate %} {% endwith %}

{% blocktranslate trimmed %} If you believe to have received this invitation by mistake, please contact the organiser directly. {% endblocktranslate %}

{% endif %} {% endblock content %}