{% if has_slider_item_for_work is defined and has_slider_item_for_work %}
{% set bOnMobile = app.session.get('is_on_mobile') %}
{% set nCol = '0' %}
{% if column_num is defined %}
{% set nCol = column_num %}
{% endif %}
{% set class_name = "sidrbutton" %}
{% if multicolumn is defined %}
{% set class_name = "sidrbutton" %}
{% endif %}
{% set sUrlEnd = "?col="~nCol %}
{% if bInFrame %}
{% set sUrlEnd = sUrlEnd~"&frame=1" %}
{% endif %}
{% if multicolumn_route_params is defined and multicolumn_route_params is not empty %}
{% set sUrlEnd = sUrlEnd~"&m1="~multicolumn_route_params.column1Details~"&m2="~multicolumn_route_params.column2Details %}
{% if columns is defined and columns|length == 3 %}
{% set sUrlEnd = sUrlEnd~"&m3="~multicolumn_route_params.column3Details %}
{% endif %}
{% endif %}
{% if plan_step is defined %}
{% set sUrlEnd = sUrlEnd~"&rp=1" %}
{% endif %}
{% set sSliderUrl = slider_url~sUrlEnd %}
<p class="{{ class_name }}"><a class="btn btn-slider btn-sm" id="simple-menuw2{{ nCol }}" href='javascript:onOpenWorkSlider("simple-menuw{{ nCol }}","{{ sSliderUrl }}",{{ nCol }});' ><i class="fas fa-arrow-left"></i> {{ app.session.get('ui_str')["exposition.slider.button"] }}</a></p><a id="simple-menuw{{ nCol }}" href="#sidrw{{ nCol }}" style="display:none" ></a>
<script>
aSliderUrl[{{ nCol }}] = "{{ sSliderUrl }}";
</script>
{% endif %}