{% set isMapAllowed = not pimcore_checkbox('noMapAllowed').isChecked() %}
<section>
<div class="container text-center mt-2 text-muted">
<div class="row justify-content-around">
{% if not document.property("demi_hideVacancySearch") %}
<button type="button" class="btn-no-styling col col-auto p-2 js-overlay__toggle" data-target="#search-overlay">
<span class="demi-icon demi-icon-search icon-in-text ml-1" aria-hidden="true"></span>
{{ 'demi.search' | trans }}
</button>
{% endif %}
{% if isMapAllowed %}
{% set mapNavigationLink = url('demi_mobile_map_view', {
'path' : document.getFullPath() | trim('/', 'left')
}) %}
<a href="{{ mapNavigationLink }}"
class="col col-auto p-2 js-acco-list__hide-if-no-results js-history-controller__link js-tracking--click-piwik"
data-tracking-category="Map"
data-tracking-action="open">
<span class="demi-icon demi-icon-map icon-in-text ml-1" aria-hidden="true"></span>
{{ 'demi.list.map' | trans }}
</a>
{% endif %}
<button type="button" class="btn-no-styling col col-auto p-2 js-overlay__toggle" data-target="#filter-overlay">
<span class="demi-icon demi-icon-filter icon-in-text ml-1" aria-hidden="true"></span>
{{ 'demi.filter' | trans }}
</button>
</div>
</div>
</section>