show if_guest next to name

This commit is contained in:
Philipp 2023-04-28 19:04:35 +02:00
parent a8dbf6b025
commit ed684a0ff5

View File

@ -46,7 +46,7 @@
<div class="p-2 border border-t-0 border-{{ bg }} mb-4 rounded-b-md"> <div class="p-2 border border-t-0 border-{{ bg }} mb-4 rounded-b-md">
{% if participants | length > 0 %} {% if participants | length > 0 %}
{% for rower in participants %} {% for rower in participants %}
{{ rower.name }} {% if rower.isGuest %} <small class="text-muted">(Gast)</small> {% endif %}<span class="hidden">(angemeldet seit {{ rower.registered_at }})</span><br /> {{ rower.name }} {% if rower.is_guest %} <small class="text-muted">(Gast)</small> {% endif %}<span class="hidden">(angemeldet seit {{ rower.registered_at }})</span><br />
{% endfor %} {% endfor %}
{% else %} {% else %}
{{ text }} {{ text }}