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

Open in your IDE?
  1. {% trans_default_domain 'walkinn' %}
  2. {% if (locale is not defined) %}
  3.     {% set locale = "fr_FR"  %}
  4. {% endif %}
  5. <div id="infos_sejour">
  6.    {% for item in liste %}
  7.     <div class="title-div">
  8.       <h4>{{ item.destination }}</h4>
  9.     </div>
  10.     <table class="table">
  11.       <tbody>
  12.           <tr scope="row">
  13.             <td scope="col" class="align-middle colored-text bold-th">
  14.               {{ 'Contact'|trans({"deepl": true}, null, app.request.locale) }}:
  15.             </td>
  16.             <td scope="col" class="align-middle colored-text">
  17.               {{ app.user is defined ? app.user.firstname ~ " " ~ app.user.lastname }}
  18.             </td>
  19.             <td scope="col" class="align-middle colored-text bold-th">
  20.               {{ 'Pour'|trans({"deepl": true}, null, app.request.locale) }}:
  21.             </td>
  22.             <td scope="col" class="align-middle colored-text">
  23.               {{ item.nom }}
  24.             </td>
  25.           </tr>
  26.           <tr scope="row">
  27.             <td scope="col" class="align-middle colored-text bold-th">
  28.               {{ 'Tèl'|trans({"deepl": true}, null, app.request.locale) }}:
  29.             </td>
  30.             <td scope="col" class="align-middle colored-text">
  31.               {{ app.user is defined ? app.user.phone }}
  32.             </td>
  33.             <td scope="col" class="align-middle colored-text bold-th">
  34.               {{ 'Référence'|trans({"deepl": true}, null, app.request.locale) }}:
  35.             </td>
  36.             <td scope="col" class="align-middle colored-text">
  37.               {{ item.code_walkinn }}
  38.             </td>
  39.           </tr>
  40.           <tr scope="row">
  41.             <td scope="col" class="align-middle colored-text bold-th">
  42.               {{ 'Email'|trans({"deepl": true}, null, app.request.locale) }}:
  43.             </td>
  44.             <td scope="col" class="align-middle colored-text">
  45.               {{ app.user is defined ? app.user.email }}
  46.             </td>
  47.             <td scope="col" class="align-middle colored-text bold-th">
  48.               {{ 'Dates'|trans({"deepl": true}, null, app.request.locale) }}:
  49.             </td>
  50.             <td scope="col" class="align-middle colored-text">
  51.               {{ item.dates }}
  52.             </td>
  53.           </tr>
  54.         
  55.       </tbody>
  56.     </table>
  57.   {% endfor %}
  58. </div>