{% extends "public-card.html" %} {% block title %}{{ _("Invitation") }} · Synaptane{% endblock %} {% block card %} {% if invitation is none %}
{{ _("Invitation") }}
{% if offer and offer.inviter %}{{ _("{name} invites you as {role} of the organization.", name=offer.inviter, role=role_names.get(invitation.org_role, invitation.org_role)) }}{% else %}{{ _("You are invited as {role} of the organization.", role=role_names.get(invitation.org_role, invitation.org_role)) }}{% endif %}
{% if offer and offer.granted %}{{ _(pl(offer.groups|length, "You also join the group {names}.", "You also join the groups {names}."), names=offer.groups|quoted) }}
{% endif %}{{ _("Create your account for {email}.", email=invitation.email) }}
{% if error %}{{ _("Already have an account?") }} {{ _("Sign in", context="link") }}
{% endif %} {% endblock %}