Merge branch 'feature/cancelation' into 'main'

Feature/cancelation

See merge request PhilippHofer/rot!6
This commit is contained in:
2023-04-28 19:50:48 +00:00
3 changed files with 18 additions and 8 deletions

View File

@ -43,7 +43,7 @@
</div>
{% 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') %}
<div class="text-{{ color }} bg-{{ bg }} text-center p-1 mt-1 rounded-t-md">{{ header }} {{ empty_seats }}</div>
<div class="p-2 border border-t-0 border-{{ bg }} mb-4 rounded-b-md">
{% if participants | length > 0 %}