templates/evenements/ancien_detail-evenement.inc.html.twig line 1

Open in your IDE?
  1. <div class="detail_evenement">
  2.     <h1>{{ data_new.title }}</h1>
  3.     <h2>
  4.         {% if data_new.date_start_fr is defined and data_new.date_start_fr %}
  5.             {{ data_new.city }}
  6.                 {% if data_new.zip %} ({{ data_new.zip }}){% endif %} /
  7.                     {{ data_new.date_start_fr }}
  8.                 {% if data_new.date_end %} > {{ data_new.date_end_fr }}{% endif %}
  9.         {% else %}
  10.             Aucune information sur le lieu et la date
  11.         {% endif %}
  12.     </h2>
  13.     <div id="colonne_un">
  14.         <div class="texte">
  15.             {{ data_new.description|raw }}
  16.         </div>
  17.     </div>
  18.     <div id="colonne_deux">
  19.         {% if data_new.url_file is defined and data_new.url_file %}
  20.         <div class="image">
  21.             <img src="{{ imgdir }}{{ data_new.vignette }}" alt="Illustration de {{ data_new.title }}" />
  22.         </div>
  23.         {% endif %}
  24.         {% if data_new.location is defined and data_new.location %}
  25.         <h3>
  26.             <span class="gris">Lieu : </span>
  27.             {% if data_new.url is defined and data_new.url  %}
  28.                 <a href="{{ data_new.url }}" class="link_externe">{{ data_new.location }}</a>
  29.             {% else %}
  30.                 <span>{{ data_new.location }}</span>
  31.             {% endif %}
  32.         </h3>
  33.         {% endif %}
  34.         {% if data_new.hour is defined and data_new.hour %}
  35.         <h3>
  36.             <span class="gris">Horaire :</span> {{ data_new.hour }} h</h3>
  37.         {% endif %}
  38.         {% if data_new.url_more is defined and data_new.url_more %}
  39.         <h3>
  40.             <a href="{{ data_new.url_more }}" class="link_externe">+ d'infos sur le web</a>
  41.         </h3>
  42.         {% endif %}
  43.         {% if data_new.persons is defined and data_new.persons %}
  44.         <div class="bloc_infos">
  45.             <span class="gris">Artistes liés :</span>
  46.             <ul>
  47.                 {% for idperson,person in data_new.persons %}
  48.                 <li>
  49.                     <a href="/biographies/{{ person.url_clean }}/">{{ person.firstname }}&nbsp;{{ person.lastname }}</a>
  50.                 </li>
  51.                 {% endfor %}
  52.             </ul>
  53.         </div>
  54.         {% endif %}
  55.         {% if data_new.contacts is defined and data_new.contacts %}
  56.         <h3>
  57.             <span class="gris">Contacts liés :</span>
  58.             {% for idperson,contact in data_new.contacts %}
  59.                 <a href="/contacts/{{ contact.url_clean }}/">
  60.                     {% if contact.organisation is defined and contact.organisation %}
  61.                         {{ contact.organisation }}
  62.                     {% else %}
  63.                         {{ contact.firstname }}&nbsp;{{ contact.lastname }}
  64.                     {% endif %}
  65.                 </a>
  66.                 {% if contact.nopunct is not defined or (contact.nopunct is defined and not contact.nopunct) %}, {% endif %}
  67.             {% endfor %}
  68.         </h3>
  69.         {% endif %}
  70.     </div>
  71. </div>