Skip to content
Snippets Groups Projects
Commit f4a2e989 authored by Eric Bremner's avatar Eric Bremner Committed by Igor Biki
Browse files

ISTWCMS-4917: adding template for events listing page

parent 9b441a1b
No related branches found
No related tags found
1 merge request!44Feature/istwcms 4917 ebremner upcoming dates
{#
/**
* @file
* Theme override to display a view of unformatted rows.
*
* Available variables:
* - title: The title of this group of rows. May be empty.
* - rows: A list of the view's row items.
* - attributes: The row's HTML attributes.
* - content: The row's content.
* - view: The view object.
* - default_row_class: A flag indicating whether default classes should be
* used on rows.
*
* @see template_preprocess_views_view_unformatted()
*/
#}
{% if title %}
<h3>{{ title }}</h3>
{% endif %}
{% for data in node_data %}
{%
set row_classes = [
default_row_class ? 'views-row',
]
%}
<div class="views-row">
{% include '@components/card/card--teaser/card--teaser.twig' with {
'teaser': data,
} %}
</div>
{% endfor %}
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