{% load i18n %} {% if invitation.automatic %} {% if invitation.group.defining_project %} {% blocktranslate with project_name=invitation.group.defining_project team_name=invitation.group %}An automatic team assignment rule invited you to collaborate on {{ project_name }} and join the {{ team_name }} team. You will join only if you accept this invitation.{% endblocktranslate %} {% else %} {% blocktranslate with workspace_name=invitation.group.defining_workspace team_name=invitation.group %}An automatic team assignment rule invited you to join the {{ team_name }} team in {{ workspace_name }}. You will join only if you accept this invitation.{% endblocktranslate %} {% endif %} {% elif invitation.group.defining_project %} {% blocktranslate with invitation_author=invitation.author.full_name project_name=invitation.group.defining_project team_name=invitation.group %}You were invited to {{ site_title }} by {{ invitation_author }} to collaborate on {{ project_name }} and join the {{ team_name }} team.{% endblocktranslate %} {% else %} {% blocktranslate with invitation_author=invitation.author.full_name team_name=invitation.group %}You were invited to {{ site_title }} by {{ invitation_author }} to join the {{ team_name }} team.{% endblocktranslate %} {% endif %}