From 9853d375d9e482c23f5fdbed9a3cf041029a92cb Mon Sep 17 00:00:00 2001 From: Alban Gruin Date: Mon, 23 Apr 2018 15:59:21 +0200 Subject: qsjps: ajout d’un lien vers les salles dans la liste des résultats --- templates/qsjps.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/qsjps.html b/templates/qsjps.html index bb07b60..a166dbd 100644 --- a/templates/qsjps.html +++ b/templates/qsjps.html @@ -1,14 +1,17 @@ {% extends "index.html" %} +{% load dt_week %} {% block title %}Trouver une salle – {% endblock %} {% block body %}
Aucune salle trouvée
- {% endfor %} + {% with year=form.cleaned_data.day.year week=form.cleaned_data.day|dt_week %} + {% for room in rooms %} +Aucune salle trouvée
+ {% endfor %} + {% endwith %}