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 d3757b5..fbf28df 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -41,7 +41,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 497ef3c..5f61704 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -176,9 +176,15 @@ {# --- START Sidebar Content --- #}