From b59b745644a6b54b23c6cc8f6da6dd05a5cc4941 Mon Sep 17 00:00:00 2001 From: LeSeulArtichaut Date: Thu, 12 Dec 2024 00:15:25 +0100 Subject: [PATCH] =?UTF-8?q?petitscours:=20diriger=20directement=20vers=20l?= =?UTF-8?q?a=20page=20de=20traitement=20les=20demandes=20non=20trait=C3=A9?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- petitscours/templates/petitscours/demande_list.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/petitscours/templates/petitscours/demande_list.html b/petitscours/templates/petitscours/demande_list.html index 04132d57..e79c3fc1 100644 --- a/petitscours/templates/petitscours/demande_list.html +++ b/petitscours/templates/petitscours/demande_list.html @@ -21,7 +21,11 @@ {{ demande.created|date:"d E Y" }} {% if demande.traitee_par %}{{ demande.traitee_par.username }}{% else %}{% endif %} - Détails + {% if demande.traitee %} + Détails + {% else %} + Traiter + {% endif %} {% endfor %}