templates/theme/default/component-blocks/contacts-listing-block.html.twig line 1

Open in your IDE?
  1. {% if content_bloc and param_contact != null and param_contact.actifCoordonnees == 1 %}
  2. <div class="">
  3. {% if parametre.imageFooter is not empty %}
  4. <div class="logo">
  5. <a href="{{ app.request.schemeAndHttpHost ~ app.request.baseUrl }}" class="logo-footer">
  6. <img src="{{ asset('/uploads/media-site/' ~ parametre.imageFooter) }}"
  7. alt="{{ parametre.titre }}" />
  8. </a>
  9. </div>
  10. {% endif %}
  11. {% for contact in content_bloc %}
  12. {% if contact.actifcoordonneescontact == 1 %}
  13. {#
  14. <div class="col-md-12">
  15. <h4 class="title wow">{{ contact.nomContact }}</h4>
  16. </div>
  17. #}
  18. <div class="item item-adresse">
  19. <div class="wow mb-1 flex-wrap">
  20. <div class="item-title">
  21. <p>
  22. <strong>{{ contact.titreAdresse }}
  23. </strong>
  24. </p>
  25. </div>
  26. {% if contact.lienMap is not empty %}
  27. <a href="{{ contact.lienMap }}" target="_blank" title="Google map">
  28. {% endif %}
  29. {#
  30. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M215.7 499.2C267 435 384 279.4 384 192C384 86 298 0 192 0S0 86 0 192c0 87.4 117 243 168.3 307.2c12.3 15.3 35.1 15.3 47.4 0zM192 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128z"/></svg> #}
  31. <div class="item-contenu">
  32. {{ contact.Entreprise }}
  33. <br>
  34. {{ contact.adresse }}<br>
  35. {{ contact.codePostal }}
  36. {{ contact.ville }}
  37. {{ contact.region }}
  38. {{ contact.pays }}
  39. </div>
  40. {% if contact.lienMap is not empty %}
  41. </a>
  42. {% endif %}
  43. </div>
  44. </div>
  45. <div class="item item-tel">
  46. {% if unserialize(contact.tel) %}
  47. <div class="wow mb-1 d-flex flex-wrap">
  48. <div class="item-title">
  49. <strong>{{ contact.titreTel }}</strong>
  50. </div>
  51. {% for itemTel in unserialize(contact.tel) %}
  52. {% if loop.index is even %}
  53. -
  54. {% endif %}
  55. <a
  56. class="d-flex flex-wrap" href="tel:{{stripNonNumeric(itemTel)}}">
  57. {# <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M164.9 24.6c-7.7-18.6-28-28.5-47.4-23.2l-88 24C12.1 30.2 0 46 0 64C0 311.4 200.6 512 448 512c18 0 33.8-12.1 38.6-29.5l24-88c5.3-19.4-4.6-39.7-23.2-47.4l-96-40c-16.3-6.8-35.2-2.1-46.3 11.6L304.7 368C234.3 334.7 177.3 277.7 144 207.3L193.3 167c13.7-11.2 18.4-30 11.6-46.3l-40-96z"/></svg> #}
  58. <div class="item-contenu">
  59. {{itemTel}}
  60. </div>
  61. </a>
  62. {% endfor %}
  63. </div>
  64. {% endif %}
  65. </div>
  66. <div class="item item-mail">
  67. {% if unserialize(contact.email) %}
  68. <div class="wow mb-1 d-flex flex-wrap">
  69. <div class="item-title">
  70. <strong>{{ contact.titreMail }}</strong>
  71. </div>
  72. {% for itemEmail in unserialize(contact.email) %}
  73. {% if loop.index is even %}
  74. -
  75. {% endif %}
  76. <a
  77. class="d-flex flex-wrap" href="mailto:{{itemEmail}}">
  78. {# <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 512 512"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48L48 64zM0 176L0 384c0 35.3 28.7 64 64 64l384 0c35.3 0 64-28.7 64-64l0-208L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"/></svg> #}
  79. <div class="item-contenu">
  80. {{itemEmail}}
  81. </div>
  82. </a>
  83. {% endfor %}
  84. </div>
  85. {% endif %}
  86. </div>
  87. {% endif %}
  88. {% endfor %}
  89. </div>
  90. {% endif %}