{% load i18n l10n %}
{% if motion.ndebates > 0 %}
{% blocktrans trimmed count ndebates=motion.ndebates %} results from {{ ndebates }} debate {% plural %} results from {{ ndebates }} debates {% endblocktrans %}
{% for side, advancing, advancing_pc, eliminated, eliminated_pc in motion.counts_by_side %}
{% blocktrans trimmed with side=side.upper percentage=advancing_pc|floatformat count ndebates=motion.ndebates asvar advancing_tooltip_text %} {{ advancing }} of {{ ndebates }} team on {{ side }} ({{ percentage }}%) advanced {% plural %} {{ advancing }} of {{ ndebates }} teams on {{ side }} ({{ percentage }}%) advanced {% endblocktrans %} {% blocktrans trimmed with side=side.upper percentage=eliminated_pc|floatformat count ndebates=motion.ndebates asvar eliminated_tooltip_text %} {{ eliminated }} of {{ ndebates }} team on {{ side }} ({{ percentage }}%) were eliminated {% plural %} {{ eliminated }} of {{ ndebates }} teams on {{ side }} ({{ percentage }}%) were eliminated {% endblocktrans %}
{% if advancing_pc >= 25 %} {% trans "advanced" %} {% else %} {% trans "adv." context "abbreviation for 'advanced', used when not enough space" %} {% endif %}
{% if eliminated_pc >= 25 %} {% trans "eliminated" %} {% else %} {% trans "elim." context "abbreviation for 'eliminated', used when not enough space" %} {% endif %}
{% blocktrans trimmed with side=side.upper %} {{ side }} results distribution {% endblocktrans %}
{% endfor %}
{% else %}
{% trans "No results for this motion" %}
{% endif %}