<!-- Event List Card -->
<div class="card card_events card_type_contained">
<div class="card_inner card_events_inner">
<div class="card_events_grid">
<div class="card_events_item">
<p class="card_events_item_title">
<a class="card_events_item_title_link" href="#">Name of an Upcoming Admission Q&A Session</a>
</p>
<time class="card_events_item_date" datetime="2023-02-12 17:00:00">
<span class="card_events_item_date_label">
February 12-13, 2023
</span>
</time>
</div>
<div class="card_events_item">
<p class="card_events_item_title">
<a class="card_events_item_title_link" href="#">Name of an Upcoming Admission Q&A Session</a>
</p>
<time class="card_events_item_date" datetime="2023-02-12 17:00:00">
<span class="card_events_item_date_label">
February 12, 2023
</span>
</time>
</div>
<div class="card_events_item">
<p class="card_events_item_title">
<a class="card_events_item_title_link" href="#">Name of an Upcoming Admission Q&A Session</a>
</p>
<time class="card_events_item_date" datetime="2023-02-12 17:00:00">
<span class="card_events_item_date_label">
February 12, 2023
</span>
</time>
</div>
</div>
</div>
</div>
<!-- END: Event List Card -->
{#
{% include '@partial-event-list-card' with {
item: {
type: 'default',
events: [
{
title: 'Title',
url: '#',
date: {
same_day: true,
all_day: false,
from: '2023-05-31 17:00:00',
to: '2023-05-31 19:00:00'
}
}
]
}
} %}
#}
<!-- Event List Card -->
<div class="card card_events card_type_{{ item.type ?: 'default' }}">
<div class="card_inner card_events_inner">
<div class="card_events_grid">
{% for event in item.events %}
<div class="card_events_item">
<p class="card_events_item_title">
<a class="card_events_item_title_link" href="{{ event.url }}">{{ event.title }}</a>
</p>
<time class="card_events_item_date" datetime="{{ event.date.from }}">
<span class="card_events_item_date_label">
{% if event.date.same_day == false %}
{{ event.date.from|date('F d') }}-{{ event.date.to|date('d, Y') }}
{% else %}
{{ event.date.from|date('F d, Y') }}
{% endif %}
</span>
</time>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- END: Event List Card -->
No notes defined.