{% extends "base.html" %} {% load i18n %} {% load bootstrap3 %} {% load dv_filters %} {% block head_title %}{% blocktrans with month=month|date:'F Y' %}Validations cantonales mensuelles pour {{ month }}{% endblocktrans %}{% endblock %} {% block content %}

{% blocktrans with month=month|date:'F Y' %}Validations cantonales mensuelles pour {{ month }}{% endblocktrans %}

{% if nothing_to_do %} {% else %} {% for mcv_url in mcv_urls %} {% endfor %} {% for mcv in mcvs %} {% if mcv|get_timesheet_status_for_canton:timesheets_statuses is not None %} {% for mcv_url in mcv_urls %} {% endfor %} {% endif %} {% endfor %}
{% trans "Canton" %} {% trans "Contrôle des heures effectué" %}{{ mcv_url.name }}{% trans "Validé" %}
{{ mcv.canton|canton_abbr:False }} {% if mcv|get_timesheet_status_for_canton:timesheets_statuses %}{% include "ok.html" %}{% else %}{% include "ko.html" %}{% endif %} {% for validated_url in mcv.validated_urls.all %} {% if validated_url.pk == mcv_url.pk %}{% include "ok.html" %}{% endif %} {% endfor %} {% if mcv.validated %} {% include "ok.html" %} {% blocktrans with by=mcv.validated_by.get_full_name at=mcv.validated_at %}par {{ by }}, le {{ at }}{% endblocktrans %} {% else %} {% endif %}
{% endif %} {% buttons %} {% blocktrans with year=month.year %}Année {{ year }}{% endblocktrans %} {% endbuttons %} {% endblock %}