change header message box sidebar

This commit is contained in:
Philipp
2023-04-28 19:33:56 +02:00
parent 1e29fab4d1
commit 9384c78f42
2 changed files with 3 additions and 3 deletions

View File

@ -41,8 +41,8 @@
</div>
{% endmacro alert %}
{% macro box(participants, empty_seats, header='Ruderer können noch teilnehmen', text='Keine Ruderer angemeldet', bg='primary-600', color='white') %}
<div class="text-{{ color }} bg-{{ bg }} text-center p-1 mt-1 rounded-t-md">{{ empty_seats }} {{ header }}</div>
{% 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 %}
{% for rower in participants %}