{% 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 %}
{{ _('Invitations go out once the form is published and open.') }}
{% endif %}{{ _(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 %}{{ _('This form is anonymous: who has taken part is not shown here. Reminders still go only to people who have not taken part.') }}
| {{ _('Email address') }} | {{ _('Invited') }} | {{ _('Reminded') }} | {% if not anonymous %}{{ _('Taken part') }} | {% endif %}|
|---|---|---|---|---|
| {{ 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 not anonymous %}{% if r.participated %}{{ _('yes') }}{% else %}{{ _('not yet') }}{% endif %} | {% endif %}
{{ _('Withdrawing an invitation makes its link invalid; an answer already given stays.') }}
{% else %}{{ _('No guests invited yet.') }}
{% endif %}| {{ _('Name') }} | {{ _('Invited') }} | {{ _('Reminded') }} | {% if not anonymous %}{{ _('Taken part') }} | {% endif %}
|---|---|---|---|
| {{ 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 not anonymous %}{% if r.participated %}{{ _('yes') }}{% else %}{{ _('not yet') }}{% endif %} | {% endif %}
{{ _('Accounts appear here once they are invited: added above, or from the access list when invitations go out.') }}
{% endif %}