Browse Source

erreur sur twig checkins

garthh 2 weeks ago
parent
commit
0067e251a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      templates/checkin/_modal.checkin.html.twig

+ 1 - 1
templates/checkin/_modal.checkin.html.twig

@@ -9,7 +9,7 @@
   <div data-id="{{participant.id}}" class="participant-box box{% if participant.checkin == null %}{% elseif participant.checkin %} has-background-primary{% else %} has-background-danger{% endif %}">
     <p class="subtitle is-3">
       {% if participant.checkin %}<span class="icon"><twig:ux:icon name="bi:check2-circle"/></span>{% else %}<span class="icon"><twig:ux:icon name="bi:circle"/></span>{% endif %}
-      &nbsp;<span title="{{ participation.participantName }}">{{ participation.participantName|length > 30 ? participation.participantName|slice(0, 30) ~ '...' : participation.participantName }}</span></p>
+      &nbsp;<span title="{{ participant.participantName }}">{{ participant.participantName|length > 30 ? participant.participantName|slice(0, 30) ~ '...' : participant.participantName }}</span></p>
   </div>
 
   {% endfor %}