From aeddf3c7ae23aeaf47539a602418ce4b27720b35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20V=C3=A4nttinen?= Date: Tue, 27 Feb 2024 19:43:51 +0200 Subject: [PATCH] TMS-1013: Add event weekly entry dates to event partial --- CHANGELOG.MD | 2 ++ .../single-dynamic-event-info.dust | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 24cce6f..24e337d 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +- TMS-1013: Add event weekly entry dates to event partial + ## [1.2.1] - 2024-02-01 - TMS-980: Add redipress_include_search to include component contents in search results diff --git a/partials/views/single-dynamic-event/single-dynamic-event-info.dust b/partials/views/single-dynamic-event/single-dynamic-event-info.dust index 2075117..7c7a018 100644 --- a/partials/views/single-dynamic-event/single-dynamic-event-info.dust +++ b/partials/views/single-dynamic-event/single-dynamic-event-info.dust @@ -4,11 +4,21 @@ {>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.date_title template_classes=template_classes.info_group_title icon="date" /}
- {#event.normalized.dates} -
- {date|html} -
+ {?event.normalized.dates} + {#event.normalized.dates} +
+ {date|html} +
+ {/event.normalized.dates} {/event.normalized.dates} + + {?event.normalized.entries} + {#event.normalized.entries} +
+ {date|attr} +
+ {/event.normalized.entries} + {/event.normalized.entries}
{/event.normalized.date}