diff --git a/templates/includes/macros.html.tera b/templates/includes/macros.html.tera index 7566399..7a88a1a 100644 --- a/templates/includes/macros.html.tera +++ b/templates/includes/macros.html.tera @@ -57,7 +57,7 @@ {% endmacro alert %} {% macro box(participants, empty_seats='', header='Freie Plätze:', text='Keine Ruderer angemeldet', bg='primary-600', color='white') %} -
{{ header }} {{ empty_seats }}
+
{{ header }} {% if empty_seats >= 0 %} {{ empty_seats }} {% else %} 0 {% endif %}
{% if participants | length > 0 %} {% for rower in participants %}