{% extends '@ajax-layout/layout.twig' %}

{% block body %}
<div class="modal-body clearfix display_table">
	<span class="icone-modal information"></span>
    <div class="display_cell">    
    	{{ message }}
    </div>
</div>

<div class="modal-footer">
    {% if uriRetour!='' %}
    <a href="{{ uriRetour }}"><button type="button" class="button principal">{{ 'Fermer' | trad }}</button></a>
    {% else %}
        {% if postRetour and postRetour!=''  %}
        <a onClick="redirectJSWithPost('{{ path(pathRetour) }}', {{ postRetour }});" ><button type="button" class="button secondaire button_right" data-dismiss="modal">{{ 'Fermer' | trad }}</button></a>
        {% else %}
        <a href="{{ path(pathRetour) }}" ><button type="button" class="button secondaire button_right" data-dismiss="modal">{{ 'Fermer' | trad }}</button></a>
        {% endif %}
    {% endif %}
</div>
{% endblock %}