Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_fdsu_theme_resp
Commits
e80cec78
Commit
e80cec78
authored
Feb 18, 2022
by
Eric Bremner
Browse files
ISTWCMS-5369: adding show empty logic to views
parent
1b84a82c
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/views/views-view.html.twig
View file @
e80cec78
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment