templates/dossier/pattern/_apercu_sejour.html.twig line 1

Open in your IDE?
  1. {% set langue = locale ?? app.request.locale %}
  2. <div id="apercu_sejour">
  3.   <div class="title-div">
  4.     {#<h4>{% trans into langue ?: "fr_fr" %}Aperçu de votre séjour{% endtrans %}</h4>#}
  5.     <h4>{{ 'Aperçu de votre séjour'|trans({'deepl': true}, null, langue) }}</h4>
  6.   </div>
  7.   <table class="table" style="font-size: 20.8px !important; width: 100%;">
  8.     <thead>
  9.       <tr>
  10.         <th class="align-middle" scope="col" style="text-align: left !important; width: 25% !important;">
  11.           <span class="bold-th">{{ 'Date'|trans({"deepl": true}, null, app.request.locale) }}</span>
  12.         </th>
  13.         <th class="align-middle" scope="col" style="text-align: left !important; width: 41% !important;padding: 0 2% !important;">
  14.           <span class="bold-th">{{ 'Etape / Activité(s)'|trans({"deepl": true}, null, app.request.locale) }}</span>
  15.         </th>
  16.         <th class="align-middle" scope="col" style="text-align: left !important; width: 30% !important;">
  17.           <span class="bold-th">{{ 'Hébergement'|trans({"deepl": true}, null, app.request.locale) }}</span>
  18.         </th>
  19.       </tr>
  20.     </thead>
  21.     <tbody>
  22.       {% for item in liste %}
  23.         <tr scope="row" style="border-bottom-color: rgb(194, 198, 202) !important">
  24.           <td class="align-top">
  25.             <b>{{ item.date_jour }}</b>
  26.           </td>
  27.           <td class="align-top" style="padding: 0 2% !important;">
  28.             {{ item.activites|raw }}
  29.           </td>
  30.           <td class="align-top">
  31.             {{ item.hebergements|raw }}
  32.           </td>
  33.         </tr>
  34.       {% endfor %}
  35.     </tbody>
  36.   </table>
  37. </div>