templates/contact/get_contact_by_entreprise.html.twig line 1

Open in your IDE?
  1. <div class="dflex frame-team-page">
  2.     <div class="dflex fwrap jcse frame-team-container w100">
  3.         {% for row in request %}
  4.             <div class="dflex fdc fbs aic br8 frame-team cwhite">
  5.                 <div class="mb-1em">
  6.                     {% if row.avatar.id is defined and row.avatar.id is not empty %}
  7.                         {% set media = sulu_resolve_media(row.avatar.id, 'fr') %}
  8.                         <img class="frame-team-pic" src="{{ media.thumbnails['sulu-100x100.webp'] }}" title="{{ media.title }}" alt="{{ media | copyright_or_description_or_title }}" width="100" height="100">
  9.                     {% endif %}
  10.                 </div>
  11.                 <div class="mb-8px frame-team-name cdarkblue fs20 fw500 lh28 tac">
  12.                     {% if row.firstName is defined and row.firstName is not empty %}
  13.                         {{ row.firstName }}
  14.                     {% endif %}
  15.                     {% if row.lastName is defined and row.lastName is not empty %}
  16.                         {{ row.lastName }}
  17.                     {% endif %}
  18.                 </div>
  19.                 {% for row4 in row.accountContacts %}
  20.                     <div class="mb-8px frame-team-position ccyan fw400 fs16 lh24 tac">
  21.                         {% if row4.position.position is defined and row4.position.position is not empty %}
  22.                             {{ row4.position.position }}
  23.                         {% endif %}
  24.                     </div>
  25.                 {% endfor %}
  26.                 {% for row2 in row.phones %}
  27.                     {% if row2.phone is defined and row2.phone is not empty %}
  28.                         <div class="mb-8px cdarkblue"><img src="/resources/img/phone-icon.svg" alt="Telephone" class="pr-5px" width="20" height="20">{{ row2.phone }}</div>
  29.                     {% endif %}
  30.                 {% endfor %}
  31.                 {% for row3 in row.emails %}
  32.                     {% if row3.email is defined and row3.email is not empty %}
  33.                         <div class="mb-40px corange">
  34.                             <img src="/resources/img/mail-icon.svg" alt="Email" class="pr-5px"><a class="corange" href='mailto:{{ row3.email }}' width="17" height="12">{{ row3.email }}</a>
  35.                         </div>
  36.                     {% endif %}
  37.                 {% endfor %}
  38.                 {% if row.freetext is defined and row.freetext is not empty %}
  39.                     <div class="p-1-5em frame-team-freetext cdarkblue fw400 fs16 lh24">
  40.                         {{ row.freetext  | raw }}
  41.                     </div>
  42.                 {% endif %}
  43.             </div>
  44.         {% endfor %}
  45.     </div>
  46. </div>