Skip to content
Snippets Groups Projects
Commit e80cec78 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-5369: adding show empty logic to views

parent 1b84a82c
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,7 @@
* @see template_preprocess_views_view()
*/
#}
{%
set classes = [
'view',
......@@ -56,6 +57,10 @@
} %}
{% endif %}
{% if not show_empty %}
{% set show_empty = 'yes' %}
{% endif %}
{% include '@components/view/views-view/views-view.twig' with {
'attributes': attributes,
'css_name': css_name,
......@@ -64,6 +69,7 @@
'footer': footer,
'rows': rows,
'empty': empty.area,
'show_empty': show_empty,
'pager': pager,
'exposed': exposed,
'feed_icons': feed_icons,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment