{% set places = event.MaximumParticipants - event.ActualDeclaredParticipants %} {% if places < 0 %} {{ 'zuk.event.freePlaces'|trans }}: 0 {% else %} {{ 'zuk.event.freePlaces'|trans }}: {{ places }} {% endif %}