{% extends "assignment/base_assignment.html" %} {% load i18n %} {% load staticfiles %} {% block title %}{{ block.super }} – {% trans "Elections" %}{% endblock %} {% block content %}

{% trans "Elections" %}

{% trans "Filter" %}:

{{ assignments|length }} {% blocktrans count counter=assignments|length %}election{% plural %}elections{% endblocktrans %} {% for assignment in assignments %} {% empty %} {% endfor %}
{% trans "Election" %} {% trans "Candidates" %} {% trans "Status" %} {% trans "Actions" %}
{{ assignment }} {% blocktrans with posts=assignment.posts context "Number of searched candidates for an election"%}posts: {{ posts }}{% endblocktrans %} {% if assignment.status != 'fin' %} | {% blocktrans with candidates=assignment.get_participants|length %}candidates: {{ candidates }}{% endblocktrans %} {% endif %} | {% blocktrans with elected=assignment.elected|length %}elected: {{ elected }}{% endblocktrans %} {{ assignment.get_status_display }} {% if perms.projector.can_manage_projector %} {% endif %} {% if perms.assignment.can_manage_assignment %} {% endif %}
{% trans "No assignments available." %}
{% endblock %}