{% extends "base.html" %} {% block body %} {% include "partials/header.html" %} {% if not active_projects and not archived_projects %} {% set es_badge = "Catégorie" %} {% set es_title = "Aucun projet" %} {% set es_subtitle = "Cette catégorie ne contient pas encore de projet. Ajoutez-en un depuis la page d'administration." %} {% set es_cards = [ {"icon": '', "color": "purple", "title": "Projet = Kanban", "text": "Un projet contient un kanban avec 4 colonnes : À faire, En cours, Revue, Fait."}, {"icon": '', "color": "amber", "title": "Tâches", "text": "Les tâches sont créées directement dans le kanban de chaque projet."} ] %} {% set es_cta = {"label": "Configurer le board", "href": "/admin/board"} %} {% include "partials/empty_state.html" %} {% endif %} {% for p in active_projects %}
{{ p.acronym or p.name[:4] | upper }} / {{ p.name }}
{% set color = cat.color %} {% set snapshots = p.get('snapshots', []) %} {% if snapshots and snapshots | length >= 2 %}
{% include "partials/burndown.html" %}
{% endif %} {% set tasks = p.tasks %} {% set project_id = p.id %} {% set project_default_who = p.get('default_who', '') %} {% include "partials/kanban.html" %}
{% endfor %} {% if archived_projects %}
{% endif %} {% endblock %} {% block modals %} {% endblock %} {% block scripts %} {% endblock %}