{% extends "base.html" %} {% load i18n %} {% load staticfiles %} {% load tags %} {% block title %}{% trans "Elections" %} – {{ block.super }}{% endblock %} {% block header %} {% endblock %} {% block javascript %} {% endblock %} {% block content %}

{% trans "Elections" %} {% if perms.assignment.can_manage_assignment %} {% trans "New" %} {% endif %} {% if perms.core.can_manage_tags %} {% trans 'Tags' %} {% endif %} {% if perms.assignment.can_see_assignment %} PDF {% endif %}

{% if perms.assignment.can_manage_assignment or perms.core.can_manage_projector %} {% endif %} {% for object in object_list %} {% if perms.assignment.can_manage_assignment or perms.core.can_manage_projector %} {% endif %} {% endfor %}
{% trans "Election" %} {% trans "Candidates" %} {% trans "Status" %}{% trans "Actions" %}
{{ object }} {% for tag in object.tags.all %} {{ tag }} {% endfor %} {% trans "Posts" context "Number of searched candidates for an election" %}: {{ object.posts }} {% if object.status != 'fin' %} | {% trans "Candidates" %}: {{ object.get_participants|length }} {% endif %} | {% trans "Elected" %}: {{ object.elected|length }} {{ object.get_status_display }} {% if perms.core.can_manage_projector %} {% endif %} {% if perms.assignment.can_manage_assignment %} {% endif %}
{% endblock %}