Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
uw_fdsu_theme_resp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
WCMS
uw_fdsu_theme_resp
Commits
e37b6fcf
Commit
e37b6fcf
authored
1 year ago
by
Eric Bremner
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-6611: fixing listing page tempate for events
parent
1b9be0dc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!114
ISTWCMS-6611: adding template for views view unformatted, which adds index to variables
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
+15
-1
15 additions, 1 deletion
...ws-view-unformatted--uw-view-events--event-page.html.twig
with
15 additions
and
1 deletion
templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
+
15
−
1
View file @
e37b6fcf
{%
for
data
in
node_data
%}
{%
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
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment