src/Elements/Bundle/DemiFrontendBundle/Resources/views/List/includes/navigation.html.twig line 1

Open in your IDE?
  1. {% set isMapAllowed = not pimcore_checkbox('noMapAllowed').isChecked() %}
  2. <section>
  3.     <div class="container text-center mt-2 text-muted">
  4.         <div class="row justify-content-around">
  5.             {% if not document.property("demi_hideVacancySearch") %}
  6.             <button type="button" class="btn-no-styling col col-auto p-2 js-overlay__toggle" data-target="#search-overlay">
  7.                 <span class="demi-icon demi-icon-search icon-in-text ml-1" aria-hidden="true"></span>
  8.                 {{ 'demi.search' | trans }}
  9.             </button>
  10.             {% endif %}
  11.             {% if isMapAllowed %}
  12.                 {% set mapNavigationLink = url('demi_mobile_map_view', {
  13.                     'path' : document.getFullPath() | trim('/', 'left')
  14.                 }) %}
  15.                 <a href="{{ mapNavigationLink }}"
  16.                     class="col col-auto p-2 js-acco-list__hide-if-no-results js-history-controller__link js-tracking--click-piwik"
  17.                     data-tracking-category="Map"
  18.                     data-tracking-action="open">
  19.                     <span class="demi-icon demi-icon-map icon-in-text ml-1" aria-hidden="true"></span>
  20.                     {{ 'demi.list.map' | trans }}
  21.                 </a>
  22.             {% endif %}
  23.             <button type="button" class="btn-no-styling col col-auto p-2 js-overlay__toggle" data-target="#filter-overlay">
  24.                 <span class="demi-icon demi-icon-filter icon-in-text ml-1" aria-hidden="true"></span>
  25.                 {{ 'demi.filter' | trans }}
  26.             </button>
  27.         </div>
  28.     </div>
  29. </section>