<p><ahref="{{ url_for('election_booth', election_id=election._id) }}"class="ui huge primary button">Click here to vote in this {{ election.kind }}</a></p>
<p>The administrator of this {{ election.kind }} has not yet finished setting the election parameters. The details of the {{ election.kind }} may change at any time.</p>
{% if (session.user and session.user.is_admin() and election.workflow.get_task('eos.base.workflow.TaskReleaseResults').status == Status.READY) or election.workflow.get_task('eos.base.workflow.TaskReleaseResults').status == Status.EXITED %}
{% if election.workflow.get_task('eos.base.workflow.TaskReleaseResults').status == Status.EXITED %}
<p>Results were released at {{ election.workflow.get_task('eos.base.workflow.TaskReleaseResults').exited_at.strftime('%Y-%m-%d %H:%M:%S') }} UTC.</p>
{% else %}
<divclass="ui warning message">
This is a preview of the election results, shown only to you, the election administrator. To publicly release the results, you must do so from the <ahref="{{ url_for('election_admin_summary', election_id=election._id) }}">‘Administrate this election’</a> tab.
<p>Voting in this {{ election.kind }} has not yet begun. If you would like to preview the voting booth, <ahref="{{ url_for('election_booth', election_id=election._id) }}">click here</a>. Note that you will not be able to cast any ballots until voting opens.</p>
<p><small>If you are a registered pre-poll voter, you may access the pre-poll voting booth <ahref="{{ url_for('election_booth', election_id=election._id) }}?prepoll">here</a>.</small></p>
<p>Voting in this {{ election.kind }} has concluded. If you would like to review the voting booth, <ahref="{{ url_for('election_booth', election_id=election._id) }}">click here</a>. Note that you will no longer be able to cast any ballots.</p>