diff --git a/README.md b/README.md index b079d5b..c13acbd 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ - Wanderfahrt: ⛱ # Notes / Bugfixes -- [] max_people = 0 -> Rot hervorheben, dass Ausfahrt abgesagt wurde? - [] my trips for cox - [] add `trip_type` (id, name, desc, question, icon) with a FK to `trip_details` - [] add `always_show` to `planned_trips` (e.g. for wanderfahrten) diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index 99f8b63..27803e4 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -43,7 +43,7 @@ {% endmacro alert %} -{% macro box(participants, empty_seats, header='Freie Plätze:', text='Keine Ruderer angemeldet', bg='primary-600', color='white') %} +{% macro box(participants, empty_seats='', header='Freie Plätze:', text='Keine Ruderer angemeldet', bg='primary-600', color='white') %}
{{ header }} {{ empty_seats }}
{% if participants | length > 0 %} diff --git a/templates/index.html.tera b/templates/index.html.tera index f5f281d..36cb1d5 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -139,10 +139,15 @@