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

{% block body %}
<div class="modal-body clearfix display_table">
	{% if iconePopup == 'information' %}
		<span class="icone-modal information"></span>
	{% else %}
		<span class="icone-modal interrogation"></span>
	{% endif %}

    <div class="display_cell">
    	{{ message }}
  	</div>
</div>
<div class="modal-footer">
<a href='{{ pathURL }}'><button type="button" class="button principal">{{ 'Confirmer' | trad}}</button></a>
</div>

<script>
$( ".modal-close" ).click(function() {
	window.location.href="{{ pathURL }}";
});
{% if titre %}
    $("#modal-title").html('{{ titre }}');
{% endif %}

</script>


{% endblock %}