{% 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">
	{% if redirect %}
    	<button type="button" class="button principal" data-dismiss="modal" onClick="redirectJSWithPost('{{ path }}');">{{ 'Fermer' | trad }}</button>    
	{% else %}		
    	<button type="button" class="button principal" data-dismiss="modal" onClick="reloadGestionDemandeAchat('{{ path }}');">{{ 'Fermer' | trad }}</button>    
	{% endif %}
	
</div>
{% endblock %}