{% 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 %} {% if invitation.team_admin %} {% translate "Accepting this invitation will also make you a team administrator, allowing you to add or remove team members." %} {% endif %} {% if invitation.backup_authorship %} {% translate "A restored project backup attributes earlier contributions to your username. Accepting this invitation will claim that imported authorship, including history and changes propagated to other projects. Future commits of these contributions may use your configured commit name and e-mail address. Existing repository commits will remain unchanged." %} {% endif %}