diff --git a/election/templates/election/election_detail.jinja b/election/templates/election/election_detail.jinja index c6377526..02334bf4 100644 --- a/election/templates/election/election_detail.jinja +++ b/election/templates/election/election_detail.jinja @@ -251,7 +251,7 @@ th { {%- set election_lists = election.election_list.all() -%} - {%- if not election.has_voted(user) %} + {%- if not election.has_voted(user) and election.can_vote(user) %} {% trans %}Blank vote{% endtrans %} {%- endif %} {%- for election_list in election_lists %} @@ -265,7 +265,7 @@ th { {{role.title}} - {%- if role.max_choice > 1 and not election.has_voted(user) %} + {%- if role.max_choice > 1 and not election.has_voted(user) and election.can_vote(user) %} {% trans %}You may choose up to{% endtrans %} {{ role.max_choice }} {% trans %}people.{% endtrans %} {%- endif %} {%- if election_form.errors[role.title] is defined %} @@ -294,7 +294,7 @@ th {
  • - {%- if candidature.user.profile_pict %} + {%- if candidature.user.profile_pict and user.is_subscriber_viewable %} {% trans %}Profile{% endtrans %} {%- endif %}
    @@ -321,7 +321,7 @@ th { - {%- if not election.has_voted(user) %} + {%- if not election.has_voted(user) and election.can_vote(user) %}