{# Actions #} {% if actions != '' %}
{{ actions }}
{% endif %} {% if actions_menu != '' %} {{ knp_menu_render('actions_menu', { 'currentClass': 'active'}) }} {% endif %} {# Page header #} {% if header != '' %} {% endif %} {# Check if security exists #} {% if app.security.token and is_granted('ROLE_PREVIOUS_ADMIN') %}
{{ 'Exit impersonation' | trans }}
{% endif %} {# Show messages #} {% if message != '' %}
{{ message}}
{% endif %} {% include app.template_style ~ "/layout/messages.tpl" %} {# Welcome to course block #} {% if welcome_to_course_block %}
{% include app.template_style ~ "/layout/welcome_to_course.tpl" %}
{% endif %}