fix(display-attendies): fix template

This commit is contained in:
nikurasu 2024-03-09 05:19:51 +01:00
parent be03226aa4
commit bd6e60d461
Signed by: Nikurasu
GPG key ID: 9E7F14C03EF1F271

View file

@ -26,7 +26,7 @@
{{ else if eq $suiter.Role.Name "Guest" }}
<td>{{ $.Locals.Guest }}</td>
{{ end }}
{{ if eq .EventType "Suitwalk" }}
{{ if eq $.EventType "Suitwalk" }}
{{ if $suiter.AttendsRestaurant }}
<td class="tdgreen">✓ {{ $.Locals.Yes }}</td>
{{ else }}
@ -65,7 +65,7 @@
{{ else if eq $suiter.Role.Name "Guest" }}
<td>{{ $.Locals.Guest }}</td>
{{ end }}
{{ if eq .EventType "Suitwalk" }}
{{ if eq $.EventType "Suitwalk" }}
{{ if $suiter.AttendsRestaurant }}
<td class="tdgreen">✓ {{ $.Locals.Yes }}</td>
{{ else }}