{% extends "public-card.html" %} {% block title %}{{ _("Invitation") }} · Synaptane{% endblock %} {% block card %} {% if invitation is none %}

{{ _("Invitation") }}

{{ _("Go to sign-in") }} {% else %}

{{ _("Invitation") }}

{{ _("Join “{org}”", org=org.name) }}

{% set role_names = {"admin": _("administrator"), "member": _("member"), "contributor": _("contributor"), "reader": _("reader")} %}

{% if inviter %}{{ _("{name} invites you as {role} of the organization.", name=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 granted %}{% endif %}

{{ _("Create your account for {email}.", email=invitation.email) }}

{% if error %}{% endif %}

{{ _("Lowercase letters, digits, dots and hyphens.") }}

{{ _("12 characters minimum.") }}

{{ _("Already have an account?") }} {{ _("Sign in", context="link") }}

{% endif %} {% endblock %}