{% load i18n %}

{% translate "Contrôles / Rapports de suivi" %}

{% if 'follow_up_reports' in allowed_update_fields %} {% endif %}
{% if is_user_intern %}
{% translate "Résultat du contrôle" %} : {% if 'follow_up_reports' in allowed_update_fields %}
{% else %} {% if intervention.follow_up_performed == 'ok' %}OK{% elif intervention.follow_up_performed == 'attention' %}{% translate "Points d’attention" %}{% elif intervention.follow_up_performed == 'not_ok' %}Not OK{% else %}–{% endif %} {% endif %}
{% endif %} {% for control in visible_controls %} {% endfor %}
{% translate "Date" %} {% translate "Type" %} {% translate "Auteur" %} {% translate "Statut" %}
{{ control.updated_at|date:"d-m-Y H:i" }} {{ control.get_control_type_display }} {{ control.control_author }} {{ control.get_status_display }}