From ab4c988b4a71d383776657616239849d0c0c342d Mon Sep 17 00:00:00 2001 From: Dorian Lesbre <dorian.lesbre@gmail.com> Date: Wed, 24 Mar 2021 11:40:16 +0100 Subject: [PATCH] More fixes --- home/templates/activites.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/home/templates/activites.html b/home/templates/activites.html index f49a726..04b14c1 100644 --- a/home/templates/activites.html +++ b/home/templates/activites.html @@ -18,9 +18,9 @@ const container = document.getElementById('planning'); const groups = new vis.DataSet([ - {id: {{ friday }}, content: "Vendredi", order: 0}, - {id: {{ saturday }}, content: "Samedi", order: 1}, - {id: {{ sunday }}, content: "Dimanche", order: 2}, + {id: {{ friday }}, content: "Ven.", order: 0}, + {id: {{ saturday }}, content: "Sam.", order: 1}, + {id: {{ sunday }}, content: "Dim.", order: 2}, ]); // Items in the timeline @@ -32,7 +32,7 @@ title: '<strong>{{ act.title }}</strong><br>{{ act.room }}', start: '{{ settings.date_start|date:"Y-m-d"}} {{ act.start|date:"H:i:s" }}', align: 'left', - group: '{{ act.start|date:"d" }}', + group: {{ act.start|date:"d" }}, subgroup: '{{ act.room }}', end:'{{ settings.date_start|date:"Y-m-d"}} {{ act.end|date:"H:i:s" }}' }, @@ -110,5 +110,9 @@ <dt>Description :</dt> </dl> <p class="desc">{{ activity.description|linebreaksbr }}</p> + {% empty %} + + <p>Il n'y a aucune activité pour l'instant, revenez dans quelques jour pour avoir une liste plus remplie.</p> + {% endfor %} {% endblock %} -- GitLab