diff --git a/helios/templates/election_bboard.html b/helios/templates/election_bboard.html index a1aeb50cffef4863a4418508fbbc2c78e635fdaa..a5fd7e7d9dd14bf16f26373bb97c4c277906707a 100644 --- a/helios/templates/election_bboard.html +++ b/helios/templates/election_bboard.html @@ -40,7 +40,7 @@ Name {{voter.alias}} {% else %} <img border="0" height="20" src="/static/auth/login-icons/{{voter.voter_type}}.png" alt="{{voter.voter_type}}" /> {% if voter.name %}{{voter.name}}{% else %}{{voter.voter_id}}{% endif %} -{% endif %}</td><td><tt style="font-size: 1.4em;;">{% if voter.vote_hash %}{{voter.vote_hash}} <span style="font-size:0.8em;">[<a href="{% url "helios.views.voter_last_vote" election_uuid=election.uuid,voter_uuid=voter.uuid %}">view</a>]</span>{% else %}—{% endif %}</tt></td></tr> +{% endif %}</td><td><tt style="font-size: 1.4em;;">{% if voter.vote_hash %}{{voter.vote_hash}} <span style="font-size:0.8em;">[<a href="{% url "helios.views.voter_last_vote" election_uuid=election.uuid voter_uuid=voter.uuid %}">view</a>]</span>{% else %}—{% endif %}</tt></td></tr> {% endfor %} </table> diff --git a/helios/templates/election_keygenerator.html b/helios/templates/election_keygenerator.html index b896b823871bd5a2ed7ce5db02dc0a16c8a3d89f..60a2c55c703964884b93c44739c301ed47541561 100644 --- a/helios/templates/election_keygenerator.html +++ b/helios/templates/election_keygenerator.html @@ -134,7 +134,7 @@ Your key has been generated, but you may choose to<br /><a href="javascript:clea </p> </div> -<form method="post" id="pk_form" action="{% url "helios.views.trustee_upload_pk" election.uuid, trustee.uuid %}"> +<form method="post" id="pk_form" action="{% url "helios.views.trustee_upload_pk" election.uuid trustee.uuid %}"> <h3>Your Public Key</h3> <p> It's time to upload the public key to the server. diff --git a/helios/templates/trustee_home.html b/helios/templates/trustee_home.html index 96d875423e0fc2f5d1a929bbc85ef61b88d992d7..5f6ee9c54e66c1884114827b208f518888c96bc8 100644 --- a/helios/templates/trustee_home.html +++ b/helios/templates/trustee_home.html @@ -7,9 +7,9 @@ {% if trustee.public_key_hash %} You have successfully uploaded your public key.<br /> Your public key fingerprint is: <b>{{trustee.public_key_hash}}</b>.<br /> -You can <a href="{% url "helios.views.trustee_check_sk" election.uuid, trustee.uuid %}">verify that you have the right secret key</a>. +You can <a href="{% url "helios.views.trustee_check_sk" election.uuid trustee.uuid %}">verify that you have the right secret key</a>. {% else %} -<a href="{% url "helios.views.trustee_keygenerator" election.uuid, trustee.uuid %}">setup your key</a> +<a href="{% url "helios.views.trustee_keygenerator" election.uuid trustee.uuid %}">setup your key</a> {% endif %} </p> @@ -19,7 +19,7 @@ You can <a href="{% url "helios.views.trustee_check_sk" election.uuid, trustee.u You have successfully uploaded your decryption. {% else %} The encrypted tally for this election is ready.<br /> - <a href="{% url "helios.views.trustee_decrypt_and_prove" election.uuid, trustee.uuid %}">decrypt with your key</a> + <a href="{% url "helios.views.trustee_decrypt_and_prove" election.uuid trustee.uuid %}">decrypt with your key</a> {% endif %} {% else %} Once the tally is computed, come back here to provide your secret key for decryption purposes.<br /> diff --git a/helios/templates/voters_list.html b/helios/templates/voters_list.html index 94edfd661dcf797d3ae9320b8aeba4c4762edd57..f2db9d3042db1ff11a66c83e89c1f5c1d73ae7aa 100644 --- a/helios/templates/voters_list.html +++ b/helios/templates/voters_list.html @@ -126,7 +126,7 @@ Voters {{voters_page.start_index}} - {{voters_page.end_index}} (of {{total_voter <td> {% if admin_p %} [<a href="{% url "helios.views.voters_email" election.uuid %}?voter_id={{voter.voter_login_id}}">email</a>] -[<a onclick="return confirm('are you sure you want to remove {{voter.name}} ?');" href="{% url "helios.views.voter_delete" election.uuid, voter.uuid %}">x</a>] +[<a onclick="return confirm('are you sure you want to remove {{voter.name}} ?');" href="{% url "helios.views.voter_delete" election.uuid voter.uuid %}">x</a>] {% endif %} <img class="small-logo" src="/static/auth/login-icons/{{voter.voter_type}}.png" alt="{{voter.voter_type}}" /> {{voter.name}}</td> {% endif %} diff --git a/helios/templates/voters_manage.html b/helios/templates/voters_manage.html index bd24c74767539f7f8e2cc5cd51d3b7e7fcc87871..ccd54906ab945a00ec8b8cb5b57fd59ae71523a5 100644 --- a/helios/templates/voters_manage.html +++ b/helios/templates/voters_manage.html @@ -29,11 +29,11 @@ Voters {{offset_plus_one}} - {{offset_plus_limit}} <tr><td>{{voter.alias}}</td><td>{{voter.name}}</td><td>{{voter.voter_id}} {% if election.frozen_at %} {% else %} -[<a onclick="return confirm('are you sure you want to remove {{voter.name}} ?');" href="{% url "helios.views.voter_delete" election.uuid, voter.uuid %}">x</a>] +[<a onclick="return confirm('are you sure you want to remove {{voter.name}} ?');" href="{% url "helios.views.voter_delete" election.uuid voter.uuid %}">x</a>] {% endif %} </td></tr> {% endfor %} </table> -{% endblock %} \ No newline at end of file +{% endblock %}