templates/pages/espacepro/restaurants/partials/__sidebar.html.twig line 1

Open in your IDE?
  1. <div class="sidebar" style="margin-bottom: 50px!important;">
  2.     <div class="blog-sidebar">
  3.         <div class="blog-sidebar__widget">
  4.             <h3>Infos restaurant</h3>
  5.             <div class="sidebar-category" style="background: #efefef; padding: 10px;">
  6.                 <ul>
  7.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-map-marker"></i> Adresse</strong> <a href="#">{{ restaurant.address ?? 'Pas de d\'adresse' }}</a></li>
  8.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-map-marker"></i> Lieu/Ville/Commune</strong> <a href="#">{{ restaurant.localite ?? 'Indisponible' }}</a></li>
  9.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-envelope"></i> Email</strong> <a style="display: inline-block" class="pull-right" href="#">{{ restaurant.email ?? 'Pas de email' }}</a></li>
  10.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-phone"></i> Contacts</strong> <a style="display: inline-block" class="pull-right" href="#">{{ restaurant.contacts ?? 'Pas de contact' }}</a></li>
  11.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-globe"></i> Site web</strong>
  12.                         <a style="display: inline-block" class="pull-right" href="{{ restaurant.siteweb ?? '#' }}" target="_blank">{{ restaurant.siteweb ?? 'Pas de site web' }}</a>
  13.                     </li>
  14.                     {% if restaurant.joursouvrables %}
  15.                     <li style="padding-bottom: 20px;"><strong><i class="fa fa-calendar-check-o"></i> Jours ouvrables</strong><br>
  16.                         <span class="text-muted">{{ (restaurant.joursouvrables|nl2br) }}</span>
  17.                     </li>
  18.                     {% endif %}
  19.                 </ul>
  20.             </div>
  21.         </div>
  22.         <div class="blog-sidebar__widget">
  23.             <h3>Formulaire de reservation</h3>
  24.             <div class="sidebar-category js-form-reservation">
  25.                 <div class="alert alert-info">
  26.                     <strong>NB:</strong> Les champs (*) sont requis
  27.                 </div>
  28.                 {% include 'flash/__flash.html.twig' %}
  29.                 <div id="resultat"></div>
  30.             </div>
  31.         </div>
  32.         {% if restaurant.specialites|length != 0 or restaurant.othersspecialites %}
  33.             <div class="destination-sidebar__widget">
  34.                 <h3>Spécialités</h3>
  35.                 <div class="destination-sidebar__widget__tags">
  36.                     {% if restaurant.specialites %}
  37.                         {% for specialite in restaurant.specialites %}
  38.                             <a class="label label-primary" href="javascript:;">{{ specialite.name }}</a>
  39.                         {% endfor %}
  40.                     {% endif %}
  41.                     {% if restaurant.othersspecialites %}
  42.                         {% set specialites = restaurant.othersspecialites|split(';') %}
  43.                         {% for specialite in specialites %}
  44.                             <a class="label label-primary" href="javascript:;">{{ specialite }}</a>
  45.                         {% endfor %}
  46.                     {% endif %}
  47.                 </div>
  48.             </div>
  49.         {% endif %}
  50.         {% if restaurant.services|length != 0 or restaurant.othersservices %}
  51.             <div class="destination-sidebar__widget">
  52.                 <h3>Services</h3>
  53.                 <div class="destination-sidebar__widget__tags">
  54.                     {% if restaurant.services %}
  55.                         {% for service in restaurant.services %}
  56.                             <a class="label label-primary" href="javascript:;">{{ service.name }}</a>
  57.                         {% endfor %}
  58.                     {% endif %}
  59.                     {% if restaurant.othersservices %}
  60.                         {% set services = restaurant.othersservices|split(';') %}
  61.                         {% for service in services %}
  62.                             <a class="label label-primary" href="javascript:;">{{ service }}</a>
  63.                         {% endfor %}
  64.                     {% endif %}
  65.                 </div>
  66.             </div>
  67.         {% endif %}
  68.     </div>
  69. </div>