{% if vote_task %} {% if vote_task.status.value == "completed" %}

Vote thread started: {{ format_datetime(vote_task.completed) }}

{% if task_mid %}

Message-ID: {{ task_mid }}

{% endif %} {% elif vote_task.status.value == "failed" %}

Vote thread failed: {{ format_datetime(vote_task.completed) }}

{% else %}

Vote thread task status: {{ vote_task.status.value.upper() }} {% if vote_task.started %} (Started: {{ format_datetime(vote_task.started) }}) {% else %} (Added: {{ format_datetime(vote_task.added) }}) {% endif %}

{% endif %} {% if archive_url %}

View vote email thread in the archive

{% elif task_mid %}

Could not retrieve archive URL for this message.

{% endif %} {% else %}

Vote email: No vote initiation task found for this release.

{% endif %}