Skip to content

Commit

Permalink
Add some more wording changes around revokation.
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Berkus <[email protected]>
  • Loading branch information
jberkus committed Oct 19, 2021
1 parent e82eca3 commit ef0e874
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions elekto/templates/views/elections/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,20 @@ <h2 class="title pb-0 mb-0">
{% endfor %}
</div>
<p class="disclaimer space-lr mt-1rem">
The poll starts from <b>{{ election['start_datetime'] }} UTC</b> and ends at
{% if election['status'] == 'running' and g.user.username in voters['eligible_voters'] %}
{% if g.user.id in voted %}
You have cast your vote.
{% else %}
You have not yet voted in this election.
{% endif %}
{% endif %}
Voting starts at <b>{{ election['start_datetime'] }} UTC</b> and ends at
<b>{{ election['end_datetime'] }} UTC</b>.

{% if g.user.username not in voters['eligible_voters'] %}
If you wish to participate in the election, please fill the
<a href="{{ url_for('elections_exception', eid=election['key']) }}"><b>exception form</b></a>
before <b>{{ election['exception_due'] }}</b>.
{% endif %}

</p>
</div>

Expand Down
2 changes: 1 addition & 1 deletion elekto/templates/views/elections/vote.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h6 class="title mt-5px pb-0 mb-0">
<div class="mt-2rem pt-2rem row">
<div class="col-md-6 text-justify">
<small>
If you wish to be able to re-cast this ballot, please enter a passphrase here. If you do not enter a passphrase, you will not be able to change your vote later.
If you wish to be able to revoke this ballot, please enter a passphrase here. If you do not enter a passphrase, you will not be able to change or delete your vote later.
</small>
</div>
<div class="col-md-6 pt-5px">
Expand Down

0 comments on commit ef0e874

Please sign in to comment.