{% block body %}
    <td colspan="4">
    
    	<div class="colonne2">
			<div class="informations">
				<p>
					<span class="champs_label">{{ 'Référence CGU' | trad }}</span>
					<span class="resultat">{{ CGU.ALPHA2 }}</span>
				</p>
			</div>
    	</div>
        <div class="colonne2 last">
			<div class="informations">
				<p>
					<span class="champs_label">{{ 'Date de création' | trad }}</span>
					<span class="resultat">{{ CGU.ALPHA3 | dateTrad }}</span>
				</p>
			</div>
        </div>
    
        <table class="table table-hover">
          	<thead class="thead-dark">
              	<tr>
              		<th>{{ 'Langue' | trad }}</th>
              		<th>{{ 'Titre' | trad }}</th>
              		<th>{{ 'Reference' | trad }}</th>
              		<th>{{ 'Date création' | trad }}</th>
              		<th width="100px">{{ 'Actions' | trad }}</th>
          		</tr>
          	</thead>
          	<tbody>
          		{% for CGULangue in listeCGULangue %}
              		<tr id="cguLangue{{ loop.index }}">
                  		<td width="10%">{{ CGULangue.LANGUES }}</td>
              			<td>{{ 'Conditions générales d\'utilisation' | trad }}</td>
              			<td width="25%">{{ CGULangue.ALPHA2 }}</td>
              			<td width="15%">{{ CGULangue.ALPHA3 | dateTrad }}</td>
						<td>
							{% if CGULangue.LIBELLE %}{{ hover_action('cguLangue'~loop.index, 'download_v2' , "window.location.href ='"~path('Parametrage.ParametrageOxalink.downloadCGU', {codeLng:CGULangue.CODE_LNG})~"';", 'float: right;') }}{% endif %}
							{{ hover_action('cguLangue'~loop.index, 'modifier_v2' , "window.location.href ='"~path('Parametrage.ParametrageOxalink.modificationCGU', {codeLng:CGULangue.CODE_LNG})~"';", 'float: right;') }}	
						</td>
              		</tr>
          		{% endfor %}
          	</tbody>
        </table>
    </td>
{% endblock %}