private\formations\formation\infos_pratiques.twig line 1

  1. <div class="pratique">
  2.     <div class="titre">Informations pratiques</div>
  3.     <div class="info date">
  4.         <i class="fa-thin fa-fw fa-calendar-days"></i>
  5.         {{ date }}
  6.     </div>
  7.     {% if formation.formations__lieu_adresse or formation.formations__lieu_cp or formation.formations__lieu_ville %}
  8.         <div class="info">
  9.             <i class="fa-solid fa-fw fa-location-dot"></i> 
  10.             {{formation.formations__lieu_adresse|raw}}, <br> 
  11.             {{ formation.formations__lieu_cp|raw }}
  12.             {{formation.formations__lieu_ville|raw}} 
  13.         </div>
  14.     {% endif %}
  15.     <div class="info">Temps de formation total :
  16.         {% set total_heures_participants = formation.formations__total_heures_participants | replace({',': '', '.000': ''}) %}
  17.         {{ total_heures_participants | number_format(0, '.', '') }}h
  18.     </div>
  19.     <div class="mt-3">
  20.         {% if formation.formations__tarif %}
  21.             <h3 class="mb-2">Tarif : {{formation.formations__tarif|raw}} € (HT)</h3>
  22.             Possibilité de financement jusqu'à 100%
  23.         {% endif %}
  24.     </div>
  25.     <div class="links">
  26.         <div class="d-flex flex-wrap gap-2 mt-2 mb-3">
  27.             {% if formation.formations__contact_mail %}
  28.                 <a href="mailto:{{ formation.formations__contact_mail|raw }}?subject={{ formation.formations__intitule_for_email|raw }}" onclick="return gtagSendEvent('mailto:{{ formation.formations__contact_mail|raw }}?subject={{ formation.formations__intitule_for_email|raw }}')">
  29.                     <div class="bouton action full">
  30.                         Écrivez-nous
  31.                     </div>
  32.                 </a>
  33.             {% else %}
  34.                 <a href="mailto:formation@illusion-macadam.fr?subject={{ formation.formations__intitule_for_email|raw }}" onclick="return gtagSendEvent('mailto:formation@illusion-macadam.fr?subject={{ formation.formations__intitule_for_email|raw }}')">
  35.                     <div class="bouton action full">
  36.                         Écrivez-nous
  37.                     </div>
  38.                 </a>
  39.             {% endif %}
  40.             {% if formation.formations__devis_url %}
  41.                 <br class="d-none d-lg-block">
  42.                 <a href="{{formation.formations__devis_url}}" target="_blank">
  43.                     <div class="bouton action full">
  44.                         Devis
  45.                     </div>
  46.                 </a>
  47.             {% elseif pdf_devis %}
  48.                 {% for devis in pdf_devis %}
  49.                     <br class="d-none d-lg-block">
  50.                     <a href="{{devis.url}}" target="_blank">
  51.                         <div class="bouton action full">
  52.                             Devis
  53.                         </div>
  54.                     </a>
  55.                 {% endfor %}
  56.                 {% else %}
  57.             {% endif %}
  58.             {% if formation.formations__candidature_url %}
  59.                 <a href="{{formation.formations__candidature_url}}" target="_blank">
  60.                     <div class="bouton action">
  61.                         Dossier de candidature
  62.                     </div>
  63.                 </a>
  64.             {% elseif pdf_candidature %}
  65.                 {% for candidature in pdf_candidature %}
  66.                     <a href="{{candidature.url}}" target="_blank">
  67.                         <div class="bouton action">
  68.                             Dossier de candidature
  69.                         </div>
  70.                     </a>
  71.                 {% endfor %}
  72.                 {% else %}
  73.             {% endif %}
  74.             {% if formation.formations__financement_url %}
  75.                 <a href="{{formation.formations__financement_url}}" target="_blank">
  76.                     <div class="bouton action">
  77.                         Information sur le financement
  78.                     </div>
  79.                 </a>
  80.                 
  81.             {% elseif pdf_financement %}
  82.                 {% for financement in pdf_financement %}
  83.                     <a href="{{financement.url}}" target="_blank">
  84.                         <div class="bouton action">Information sur le financement</div>
  85.                      </a>
  86.                 {% endfor %} 
  87.             {% endif %}
  88.             {% if formation.formations__co_design_url %}
  89.                 <a href="{{formation.formations__co_design_url}}" target="_blank">
  90.                     <div class="bouton action">
  91.                         Site du partenaire
  92.                     </div>
  93.                 </a>
  94.             {% endif %}
  95.         </div>
  96.         <div class="info d-flex mt-2">
  97.              {% if formation.formations__contact_tel %}
  98.                 <a href="tel:{{formation.formations__contact_tel}}" onclick="return gtagSendEvent('tel:0467842989')">
  99.                     <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="rgba(17, 111, 56, 1)" viewbox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M511.2 387l-23.25 100.8c-3.266 14.25-15.79 24.22-30.46 24.22C205.2 512 0 306.8 0 54.5c0-14.66 9.969-27.2 24.22-30.45l100.8-23.25C139.7-2.602 154.7 5.018 160.8 18.92l46.52 108.5c5.438 12.78 1.77 27.67-8.98 36.45L144.5 207.1c33.98 69.22 90.26 125.5 159.5 159.5l44.08-53.8c8.688-10.78 23.69-14.51 36.47-8.975l108.5 46.51C506.1 357.2 514.6 372.4 511.2 387z"/></svg>
  100.                     <span class="ms-2">{{formation.formations__contact_tel}}</span>
  101.                 </a>
  102.             {% else %}
  103.                 <a href="tel:04 67 84 29 89" onclick="return gtagSendEvent('tel:0467842989')">
  104.                     <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" fill="rgba(17, 111, 56, 1)" viewbox="0 0 512 512"><!--! Font Awesome Pro 6.1.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc. --><path d="M511.2 387l-23.25 100.8c-3.266 14.25-15.79 24.22-30.46 24.22C205.2 512 0 306.8 0 54.5c0-14.66 9.969-27.2 24.22-30.45l100.8-23.25C139.7-2.602 154.7 5.018 160.8 18.92l46.52 108.5c5.438 12.78 1.77 27.67-8.98 36.45L144.5 207.1c33.98 69.22 90.26 125.5 159.5 159.5l44.08-53.8c8.688-10.78 23.69-14.51 36.47-8.975l108.5 46.51C506.1 357.2 514.6 372.4 511.2 387z"/></svg>
  105.                     <span class="ms-2">04 67 84 29 89</span>
  106.                 </a>
  107.             {% endif %}
  108.         </div>
  109.     </div>
  110. </div>
  111.