themes/BootstrapTheme/templates/bundles/SyliusShopBundle/Layout/Header/_content.html.twig line 1

Open in your IDE?
  1. {% set block_phone = app_get_blocks('num_telephone', sylius.channel.code )  %}
  2. {% set block_phone_sce = app_get_blocks('num_telephone_sce', sylius.channel.code )  %}
  3. {% set block_opening_time = app_get_blocks('horaires_ouverture', sylius.channel.code )  %}
  4. <div class="col-auto right-bloc-head  order-md-3">
  5.     <div class="row no-gutters align-items-center">
  6.         <div class="col-auto pr-3 d-none d-xl-block hidden-fixed">
  7.             <a href="tel:{%  if block_phone.link is defined %}{{block_phone.link|raw}}{%  else  %}{{'app.header.block_phone'|trans}}{%  endif  %}" class="ctc-header">
  8.                 <strong>{%  if block_phone.link is defined %}{{block_phone.link|raw}}{%  else  %}{{'app.header.phone_number'|trans}}{%  endif  %}</strong>
  9.                 
  10.             </a>
  11.             <a href="tel:{%  if phone_number_sce.link is defined %}{{block_phone_sce.link|raw}}{%  else  %}{{'app.header.phone_number_sce'|trans}}{%  endif  %}" class="service-header">
  12.                 <strong>{%  if phone_number_sce.link is defined %}{{block_phone_sce.link|raw}}{%  else  %}{{'app.header.phone_number_sce'|trans}}{%  endif  %}</strong>
  13.                 {% if block_opening_time %}
  14.                     <span>
  15.                         {{ block_opening_time.content|raw }}
  16.                     </span>
  17.                 {% else %}  
  18.                     <span>{{'app.header.opening_time'|trans}}</span>
  19.                 {% endif %}
  20.                 
  21.             </a>
  22.         </div>
  23.         <div class=" other-link-top col-lg col-12">
  24.             <ul class="clear-float">
  25.                 {{ sylius_template_event('sylius.shop.layout.header.content') }}
  26.                 {% if app.user %}
  27.                 <li class="">
  28.                     {#{% include '@BitBagSyliusWishlistPlugin/Header/_wishlistHeader.html.twig' %}#}
  29.                 <a href="{{ path('bitbag_sylius_wishlist_plugin_shop_wishlist_list_products') }}" class="wishlist-link link-other" title="{{'app.header.my_wishlist'|trans}}"><strong class="ico-wishlist-link"></strong><span>{{'app.header.my_wishlist'|trans}}</span></a></li>
  30.                 {% endif %}
  31.                 {{ sonata_block_render_event('sylius.shop.layout.before_security_widget') }}
  32.                 {{ render(controller('sylius.controller.shop.security_widget:renderAction')) }}
  33.                 {{ sonata_block_render_event('sylius.shop.layout.after_security_widget') }}
  34.                 <li class="li-panier" id="contenuPanierCommun">
  35.                     <div id="contenuPanierCommunWidget">
  36.                         {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/_widget.html.twig'})) }}
  37.                     </div>
  38.                     <div id="contenuPanierCommunPopup">
  39.                         {{ render(url('sylius_shop_partial_cart_summary', {'template': '@SyliusShop/Cart/Widget/_popup.html.twig'})) }}
  40.                     </div>
  41.                 </li>
  42.             </ul>
  43.         </div>
  44.     </div>
  45. </div>