Skip to content
Snippets Groups Projects
Commit b1421373 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-6859: add template for events embed view so that node data takes over

parent fc53b50f
No related branches found
No related tags found
1 merge request!129ISTWCMS-6859: add templates for other event views
{% set new_node_data = [] %}
{% for nd in node_data %}
{% set new_node_data = new_node_data|merge([
nd|merge({
'#uw_index': loop.index,
'#uw_row_count': rows|length
})
]) %}
{% endfor %}
{% for data in new_node_data %}
<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