diff --git a/app/templates/forecast.html b/app/templates/forecast.html index 8bb3acd..6eea4d7 100644 --- a/app/templates/forecast.html +++ b/app/templates/forecast.html @@ -12,15 +12,15 @@
-

🔮 Prévisions — « on finit quand ? »

+

Prévisions — « on finit quand ? »

Le tableau de bord des jalons, tous projets confondus, trié par risque : l'écart entre la date estimée (au débit réel du journal) et l'échéance. Réponse honnête — fourchettes plutôt que faux chiffres précis, et aucune prévision sans historique de fermetures.

🎯 {{ summary.total }} jalon(s) ouvert(s) - {% if summary.late %}⚠️ {{ summary.late }} en retard à ce rythme{% endif %} + {% if summary.late %}{{ summary.late }} en retard à ce rythme{% endif %} {% if summary.ontime %}✅ {{ summary.ontime }} dans les temps{% endif %}

@@ -56,7 +56,7 @@ {{ row.eta or '—' }} {% if row.verdict == 'late' %} - ⚠️ +{{ row.gap_days }} j + +{{ row.gap_days }} j {% elif row.verdict == 'ontime' %} ✅ dans les temps{% if row.gap_days is not none and row.gap_days < 0 %} ({{ -row.gap_days }} j d'avance){% endif %} {% elif row.verdict == 'nodue' %} @@ -78,7 +78,7 @@

📈 Débit par projet

{% for project in projects %}
- + {% for bar in project.bars %} {% set px = (bar.h * 0.42)|round|int %}