templates/contacts/presentation.html.twig line 1

Open in your IDE?
  1. {% extends 'contacts/contact_entete.inc.html.twig' %}
  2. {% block content %}
  3. <main class="tc-desktop-2_3 tc-phone-1_1">
  4.     <section class="tc-panel  tc-panel-article">
  5.         {% if biotxt is defined and biotxt %}
  6.         <div class="tc-panel-header">
  7.             {% if biotxt.title is defined and biotxt.title %}
  8.             <h2>{{ biotxt.title|raw }}</h2>
  9.             {% endif %}
  10.             {% if biotxt.subtitle is defined and biotxt.subtitle %}
  11.             <h3>{{ biotxt.subtitle|raw }}</h3>
  12.             {% endif %}
  13.             {% if biotxt.deck is defined and biotxt.deck %}
  14.             <div class="chapeau">{{ biotxt.deck|raw }}</div>
  15.             {% endif %}
  16.         </div>
  17.         <div class="tc-panel-body">
  18.             <div class="tc-block tc-block-article">
  19.                 {% if biotxt.media is defined and biotxt.media %}
  20.                     {% for media in biotxt.media %}
  21.                         <a name="video"></a>
  22.                         {% include 'multimedias.inc.html.twig' %}
  23.                     {% endfor %}
  24.                 {% endif %}
  25.                 {% if biotxt.text is defined and biotxt.text %}
  26.                     <div class="tc-block-body  tc-block-content-custom">
  27.                         {{ biotxt.text|raw }}
  28.                         {% if biotxt.link is defined and biotxt.link %}
  29.                         <p><a href="{{ biotxt.link }}" title="{{ biotxt.linktitle }} (Nouvelle fenêtre)" onclick="window.open(this.href); return false;">{{ biotxt.linktitle }}</a></p>
  30.                         {% endif %}
  31.                         {% if biotxt.writer is defined and biotxt.writer %}
  32.                         <p  class="tc-color-red tc-right">{{ biotxt.writer|raw }} </p>
  33.                         {% endif %}
  34.                         {% if biotxt.date is defined and biotxt.date %}
  35.                         <p>{{ biotxt.date }} </p>
  36.                         {% endif %}
  37.                     </div>
  38.                 {% endif %}
  39.                 {% if object_rights.select is not defined or (object_rights.select is defined and not object_rights.select) %}
  40.                 <div class="tc-block-footer tc-border-top">
  41.                     <p class="tc-textwrap-lieuville  tc-text-label">
  42.                         {% if biotxt.dateupdate_lng is defined and biotxt.dateupdate_lng %}
  43.                         Présentation mise à jour le {{ biotxt.dateupdate_lng }}
  44.                         {% else %}
  45.                         Dernière modification : {{ biotxt.dateinsert_lng }}
  46.                         {% endif %}
  47.                     </p>
  48.                 </div>
  49.                 {% endif %}
  50.             </div>
  51.             {% include 'includes/pdfs.inc.html.twig' with {'detailarticle': biotxt} %}
  52.         </div>
  53.     </section>
  54.     {% endif %}
  55. </main>
  56. {% endblock %}