From 4b9fffeec95dadd6ca8a2798ad808e8b6a275c14 Mon Sep 17 00:00:00 2001
From: ebremner <ebremner@uwaterloo.ca>
Date: Mon, 18 Oct 2021 10:02:13 -0400
Subject: [PATCH] ISTWCMS-5143: updating template to include views element
 wrapper for show nodes in catalogs

---
 .../views-view--uw_view_catalog_show_nodes.html.twig     | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/templates/views/views-view--uw_view_catalog_show_nodes.html.twig b/templates/views/views-view--uw_view_catalog_show_nodes.html.twig
index 73e573a3..1dbbc067 100644
--- a/templates/views/views-view--uw_view_catalog_show_nodes.html.twig
+++ b/templates/views/views-view--uw_view_catalog_show_nodes.html.twig
@@ -1,5 +1,10 @@
+{% if (view.current_display == 'catalog_a_z_page') %}
+  <div class="views-element-container contextual-region">
+{% endif %}
+
 {% include '@components/tabs/tabs--link/tabs--link.twig' with {
   'content_list': content_list,
+  'tabs_modifier_class': 'catalog'
 } %}
 
 {% if catalog_search %}
@@ -21,3 +26,7 @@
   'more': more,
   'feed_icons': feed_icons,
 } %}
+
+{% if (view.current_display == 'catalog_a_z_page') %}
+  </div>
+{% endif %}
-- 
GitLab