From 103e770fa6c7ce43b08bf6ded47fceed53a2e8f7 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 31 Jul 2023 08:18:37 +0200 Subject: [PATCH 1/2] fix order of displayed trips + events --- templates/index.html.tera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 833c883..39f6976 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -38,7 +38,7 @@ {% for planned_event in day.planned_events | sort(attribute="planned_starting_time") %} {% set amount_cur_cox = planned_event.cox | length %} {% set amount_cox_missing = planned_event.planned_amount_cox - amount_cur_cox %} -
+
@@ -161,7 +161,7 @@ {# --- START Trips --- #} {% if day.trips | length > 0 %} {% for trip in day.trips | sort(attribute="planned_starting_time") %} -
+
{% if trip.max_people == 0 %} From 5b8dfb8284e313cfdce5d69878ce1a2d7ccaea1d Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 31 Jul 2023 08:18:37 +0200 Subject: [PATCH 2/2] fix order of displayed trips + events --- templates/index.html.tera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 833c883..39f6976 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -38,7 +38,7 @@ {% for planned_event in day.planned_events | sort(attribute="planned_starting_time") %} {% set amount_cur_cox = planned_event.cox | length %} {% set amount_cox_missing = planned_event.planned_amount_cox - amount_cur_cox %} -
+
@@ -161,7 +161,7 @@ {# --- START Trips --- #} {% if day.trips | length > 0 %} {% for trip in day.trips | sort(attribute="planned_starting_time") %} -
+
{% if trip.max_people == 0 %}