{% extends "agenda_culturel/page.html" %} {% block title %}{% block og_title %}Importations récurrentes {% if status %}{{ status }}{% endif %}{% endblock %}{% endblock %} {% load utils_extra %} {% load rimports_extra %} {% load cat_extra %} {% block entete_header %} {% css_categories %} {% endblock %} {% block content %}
{% if not status %} Exécuter tout {% picto_from_name "play-circle" %} {% else %} {% if status == "failed" or status == "canceled" %} Relancer les imports échoués {% picto_from_name "play-circle" %} {% endif %} {% endif %} Ajouter {% picto_from_name "plus-circle" %}

Importations récurrentes {% if status %}{{ status }}{% endif %}

{% if status %} tous : {{ nb_all }} {% else %} tous : {{ nb_all }} {% endif %} {% if nb_failed > 0 %}— {% if not status or status != "failed" %} échoués : {{ nb_failed }} {% else %} échoués : {{ nb_failed }} {% endif %} {% endif %} {% if nb_canceled > 0 %}— {% if not status or status != "canceled" %} annulés : {{ nb_canceled }} {% else %} annulés : {{ nb_canceled }} {% endif %} {% endif %} {% if nb_running > 0 %}— {% if not status or status != "running" %} en cours : {{ nb_running }} {% else %} en cours : {{ nb_running }} {% endif %} {% endif %}
{% for obj in paginator_filter %} {% endfor %}
Id Nom Récurrence Nb d'imports Dernier Actions
{{ obj.pk }} {{ obj.name }} {{ obj.get_recurrence_display }} {{ obj.nb_imports }} {% if obj.nb_imports > 0 %} {% with imp=obj.last_import %} {% if imp.status == "running" %}{{ imp.status }}{% else %}{{ imp.status }}{% endif %} {% endwith %} {% endif %}
{% if obj.last_import.status != "running" %} Exécuter {% else %} Annuler {% endif %} Consulter Modifier
{% include "agenda_culturel/side-nav.html" with current="rimports" %}
{% endblock %}