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
f4a2e989
Commit
f4a2e989
authored
3 years ago
by
Eric Bremner
Committed by
Igor Biki
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ISTWCMS-4917: adding template for events listing page
parent
9b441a1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!44
Feature/istwcms 4917 ebremner upcoming dates
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
+32
-0
32 additions, 0 deletions
...ws-view-unformatted--uw-view-events--event-page.html.twig
with
32 additions
and
0 deletions
templates/views/views-view-unformatted--uw-view-events--event-page.html.twig
0 → 100644
+
32
−
0
View file @
f4a2e989
{#
/**
* @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
%}
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