{% load i18n %} {% load humanize %} {% load staticfiles %}

{{ poll.motion.active_version.title }}
{% trans "Motion" %} {{ poll.motion.identifier|default:'' }} {% if poll.motion.get_active_version.version_number > 1 %} | {% trans 'Version' %} {{ poll.motion.active_version.version_number }}{% endif %} {% if poll.poll_number > 1 %}| {{ poll.poll_number|ordinal|safe }} {% trans "vote" %}{% endif %}

{% if poll.has_votes %} {% with poll.get_options.0 as option %} {% if poll.votesvalid != None %} {% endif %} {% if poll.votesinvalid != None %} {% endif %} {% if poll.votescast != None %} {% endif %}
{% trans 'Yes' %}: {{ option.Yes }}
{% trans 'No' %}: {{ option.No }}
{% trans 'Abstention' %}: {{ option.Abstain }}
{% trans 'Valid votes' %}: {{ poll.print_votesvalid }}
{% trans 'Invalid votes' %}: {{ poll.print_votesinvalid }}
{% trans 'Votes cast' %}: {{ poll.print_votescast }}
{% endwith %} {% else %} {% trans "No result available." %} {% endif %}