recapitulatif_bloque.html 20 lignes · 1313 octets
{% extends "layouts/assistant.html" %}
{% import "components/stepper.html" as stepper %}

{% block title %}Récapitulatif{% endblock %}
{% block organisation %}{% if let Some(nom) = organisation %}<span class="text-sm text-ink-secondary">· {{ nom }}</span>{% endif %}{% endblock %}
{% block stepper %}{% call stepper::stepper(etapes, courante) %}{% endcall %}{% endblock %}

{% block content %}
{# E-010 — brouillon incohérent entre étapes (OI-133) : points bloquants, aucun lancement #}
{% include "assistant/bandeau_evolution.html" %}
<h1 class="text-2xl text-foreground">Récapitulatif</h1>
<div class="mt-xl border-l-4 border-l-error bg-error-bg p-md text-sm text-foreground" role="alert">
  <p class="font-semibold">Les étapes ne sont pas cohérentes entre elles : corrigez {% if blocages.len() > 1 %}ces points{% else %}ce point{% endif %}, puis revenez au récapitulatif pour {% if evolution %}lancer l'évolution{% else %}lancer l'installation{% endif %}.</p>
  <ul id="blocages" class="mt-sm flex flex-col gap-xs">
    {% for (message, lien) in blocages %}
    <li>{{ message }}{% if let Some((libelle, url)) = lien %} <a href="{{ url }}" class="font-semibold text-foreground underline underline-offset-4">Modifier : {{ libelle }}</a>{% endif %}</li>
    {% endfor %}
  </ul>
</div>
{% endblock %}