Commit 6429bce9 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-5129:addin the logic to look for the a_z view for catalogs and...

ISTWCMS-5129:addin the logic to look for the a_z view for catalogs and services_in_category_page in services and wrap in view-element-container
parent 620b591c
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
dom_id ? 'js-view-dom-id-' ~ dom_id, dom_id ? 'js-view-dom-id-' ~ dom_id,
] ]
%} %}
{{ view.current_display }}
{% if (view.current_display == 'services_in_category_page') %} {% if (view.current_display == 'services_in_category_page') or (view.current_display == 'catalog_a_z_page') %}
<div class="views-element-container contextual-region"> <div class="views-element-container contextual-region">
{% endif %} {% endif %}
...@@ -78,6 +78,6 @@ ...@@ -78,6 +78,6 @@
'exp_col_all': exp_col_all, 'exp_col_all': exp_col_all,
} %} } %}
{% if (view.current_display == 'services_in_category_page') %} {% if (view.current_display == 'services_in_category_page') or (view.current_display == 'catalog_a_z_page') %}
</div>> </div>
{% endif %} {% endif %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment