From 760ebd6e29172d640e87e07a5bd48495b95c2889 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 4 Dec 2017 14:38:27 +1100 Subject: [PATCH] Ditto --- eosweb/core/static/nunjucks/booth/base.html | 2 +- eosweb/core/static/nunjucks/booth/cast.html | 4 ++-- eosweb/core/static/nunjucks/booth/complete.html | 2 +- eosweb/core/static/nunjucks/booth/welcome.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eosweb/core/static/nunjucks/booth/base.html b/eosweb/core/static/nunjucks/booth/base.html index 57795cd..6ca84ce 100644 --- a/eosweb/core/static/nunjucks/booth/base.html +++ b/eosweb/core/static/nunjucks/booth/base.html @@ -18,7 +18,7 @@

{{ election.py_name }}

-

Election fingerprint: {{ eosjs.eos.core.hashing.__all__.SHA256().update_obj(election).hash_as_b64() }}

+

{{ election.kind|title }} fingerprint: {{ eosjs.eos.core.hashing.__all__.SHA256().update_obj(election).hash_as_b64() }}

{# Convert the template name to a numerical index for comparison #} {% if template == 'booth/welcome.html' %} diff --git a/eosweb/core/static/nunjucks/booth/cast.html b/eosweb/core/static/nunjucks/booth/cast.html index c8dd482..ceb54d2 100644 --- a/eosweb/core/static/nunjucks/booth/cast.html +++ b/eosweb/core/static/nunjucks/booth/cast.html @@ -43,13 +43,13 @@ diff --git a/eosweb/core/static/nunjucks/booth/complete.html b/eosweb/core/static/nunjucks/booth/complete.html index 6e9e31e..6450212 100644 --- a/eosweb/core/static/nunjucks/booth/complete.html +++ b/eosweb/core/static/nunjucks/booth/complete.html @@ -29,7 +29,7 @@

Please check that the ballot fingerprint above matches the ballot fingerprint you recorded earlier.

-

To confirm that your ballot was cast correctly, please go to the ‘Voters and ballots’ page for the election or click ‘Finish’, and confirm that the above ballot fingerprint appears next to your name.

+

To confirm that your ballot was cast correctly, please go to the ‘Voters and ballots’ page for the {{ election.kind }} or click ‘Finish’, and confirm that the above ballot fingerprint appears next to your name.

{% endblock %} {% block buttons %} diff --git a/eosweb/core/static/nunjucks/booth/welcome.html b/eosweb/core/static/nunjucks/booth/welcome.html index 439c3f3..88cf184 100644 --- a/eosweb/core/static/nunjucks/booth/welcome.html +++ b/eosweb/core/static/nunjucks/booth/welcome.html @@ -20,7 +20,7 @@ {% block content %}

Welcome to the {{ election.py_name }} voting booth.

-

Follow the on-screen directions to prepare and cast your ballot in this election. The bar above will show your progress. Please note that your ballot will not be cast until you complete the final ‘Cast ballot’ stage and receive a ‘smart ballot tracker’.

+

Follow the on-screen directions to prepare and cast your ballot in this {{ election.kind }}. The bar above will show your progress. Please note that your ballot will not be cast until you complete the final ‘Cast ballot’ stage and receive a ‘smart ballot tracker’.

If at any point you wish to return to a previous screen, click the ‘Back’ button below.

If you wish, you may disconnect your internet connection now while preparing your ballot, however you must re-connect your internet connection before logging in to cast your ballot.

Please click the blue ‘Continue’ button below to continue.