Commit 69f1e875 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-4959: adding template for empty message and updating views-view to use new tempalte

parent 408085fc
{% if not empty %}
{% set empty = 'Your filters returned no results please review criteria selected.' %}
{% endif %}
<div class="view-content--message">
<div role="alert" class="message message--warning">
<ul class="message__list">
<li class="message__item">{{ empty }}</li>
</ul>
</div>
</div>
......@@ -49,13 +49,9 @@
uuid:uuid,
} %}
{% else %}
<div class="view-content--message">
<div role="alert" class="message message--warning">
<ul class="message__list">
<li class="message__item"> <p>Your filters returned no results please review criteria selected.</p></li>
</ul>
</div>
</div>
{% include '@components/view/view-empty/view-empty.twig' with {
empty: empty,
} %}
{% endif %}
{% if pager %}
......
Supports Markdown
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