{# variables availables: notification, period. #} {% if period is not null %} {% if is_granted('CHILL_PERSON_ACCOMPANYING_PERIOD_SEE', period) %} Show and Go to Accompanying Course {% else %} You are getting a notification for a period you are not allowed to see. This is the minimal details: {{ period.id }} {% endif %} {% else %}