{% extends "base.html" %} {% block title %}{{ _('Invitations') }} · {{ form.title }} · {{ appearance.name }}{% endblock %} {% macro when(value, empty) -%}{% if value %}{{ value | datetime }}{% else %}{{ empty }}{% endif %}{%- endmacro %} {% block content %}

← {{ form.title }}

{{ _('Invitations') }}

{{ _('Dates') }}

{{ _('Invitations') }}
{{ when(form.invite_at, _('as soon as the form is open')) }}
{{ _('First reminder') }}
{{ when(form.remind_first_at, _('none')) }}
{{ _('Last reminder') }}
{{ when(form.remind_last_at, _('none')) }}
{{ _('Access list') }}
{% if form.invite_accounts %}{{ _('People and groups of the access list are invited by email.') }}{% else %}{{ _('People and groups of the access list are only reminded, not invited.') }}{% endif %}

{{ _('Change dates') }}

{% if form.status == 'draft' %}

{{ _('Invitations go out once the form is published and open.') }}

{% endif %}

{{ _('Invite by email address') }}

{% if error %}{% endif %} {% if added %}

{{ ngettext('%(num)d guest invited.', '%(num)d guests invited.', added.guests | length) }} {{ ngettext('%(num)d person with an account invited.', '%(num)d people with an account invited.', added.accounts | length) }}

{% if added.already %}

{{ ngettext('%(num)d address was already invited.', '%(num)d addresses were already invited.', added.already | length) }}

{% endif %} {% if added.inactive %}

{{ _('Not invited, account deactivated: %(list)s', list=added.inactive | join(', ')) }}

{% endif %} {% if added.invalid %}

{{ _('Not valid, left in the field below: %(list)s', list=added.invalid | join(', ')) }}

{% endif %}
{% endif %}
{{ csrf_field(request) }}

{{ _('Separated by commas, semicolons or line breaks; copied lists like “Erika Mustermann ” work too. Addresses of existing accounts are added to the access list and invited with the normal link (with sign-in). All others are invited as guests: each gets a personal invitation link that opens the form without an account and leads back to their own answer later.') }}

{% if anonymous %}

{{ _('This form is anonymous: who has taken part is not shown here. Reminders still go only to people who have not taken part.') }}

{% endif %}

{{ _('Guests') }} ({{ guests | length }})

{% if guests %}
{% if not anonymous %}{% endif %} {% for r in guests %} {% if not anonymous %}{% endif %} {% endfor %}
{{ _('Email address') }}{{ _('Invited') }}{{ _('Reminded') }}{{ _('Taken part') }}
{{ r.address }}{% if r.invitation.unsubscribed_at %} {{ _('no more emails') }}{% endif %} {{ when(r.invitation.sent_at, _('planned')) }} {% if r.invitation.reminded_last_at %}{{ r.invitation.reminded_last_at | datetime }}{% elif r.invitation.reminded_first_at %}{{ r.invitation.reminded_first_at | datetime }}{% else %}–{% endif %}{% if r.participated %}{{ _('yes') }}{% else %}{{ _('not yet') }}{% endif %}
{{ csrf_field(request) }}

{{ _('Withdrawing an invitation makes its link invalid; an answer already given stays.') }}

{% else %}

{{ _('No guests invited yet.') }}

{% endif %}

{{ _('People with an account') }} ({{ accounts | length }})

{% if accounts %}
{% if not anonymous %}{% endif %} {% for r in accounts %} {% if not anonymous %}{% endif %} {% endfor %}
{{ _('Name') }}{{ _('Invited') }}{{ _('Reminded') }}{{ _('Taken part') }}
{{ r.name }} {{ r.address }} {{ when(r.invitation.sent_at, '–') }} {% if r.invitation.reminded_last_at %}{{ r.invitation.reminded_last_at | datetime }}{% elif r.invitation.reminded_first_at %}{{ r.invitation.reminded_first_at | datetime }}{% else %}–{% endif %}{% if r.participated %}{{ _('yes') }}{% else %}{{ _('not yet') }}{% endif %}
{% else %}

{{ _('Accounts appear here once they are invited: added above, or from the access list when invitations go out.') }}

{% endif %}

{{ _('Edit access list') }}

{% endblock %}