diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 96c1ed3..5dff229 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +- TMS-1059: Add Sign up-section to event partial + +## [1.8.0] - 2024-10-24 + - TMS-1075: Redipress 2 filters ## [1.7.3] - 2024-09-25 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 33dfe1f..b883fec 100644 --- a/partials/views/single-dynamic-event/single-dynamic-event-info.dust +++ b/partials/views/single-dynamic-event/single-dynamic-event-info.dust @@ -1,47 +1,47 @@ {?event.normalized.date} -
+
{>"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.date|s} + {event.normalized.date|html}
{/event.normalized.date} {?event.normalized.time} -
+
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.time_title template_classes=template_classes.info_group_title icon="time" /}
- {event.normalized.time|s} + {event.normalized.time|html}
{/event.normalized.time} {?event.normalized.location} -
+
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.location_title template_classes=template_classes.info_group_title icon="location" /}
-
{event.normalized.location.name|s}
-
{event.normalized.location.description|s}
-
{event.normalized.location.extra_info|s}
+
{event.normalized.location.name|html}
+
{event.normalized.location.description|html}
+
{event.normalized.location.extra_info|html}
{>"ui/link" link=event.normalized.location.info_url classes="is-inline-block mt-2" /}
{/event.normalized.location} {?event.normalized.price} -
+
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.price_title template_classes=template_classes.info_group_title icon="euro" /}
{#event.normalized.price}
- {price|s} + {price|html}
- {description|s} + {description|html}
{>"ui/link" link=info_url /} {/event.normalized.price} @@ -49,36 +49,46 @@
{/event.normalized.price} +{?event.normalized.link_sign_up} +
+ {>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.sign_up_title template_classes=template_classes.info_group_title icon="link" /} + + +
+{/event.normalized.link_sign_up} + {?event.normalized.provider} -
+
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.provider_title template_classes=template_classes.info_group_title icon="bullhorn" /}
-
{event.normalized.provider.name|s}
+
{event.normalized.provider.name|html}
{?event.normalized.provider.email} {/event.normalized.provider.email} {?event.normalized.provider.phone} {/event.normalized.provider.phone}
- {>"ui/button-link" link=event.normalized.provider.link classes="is-primary mt-3 {template_classes.info_button|s}" icon="chevron-right" icon_classes="icon--medium" /} + {>"ui/button-link" link=event.normalized.provider.link classes="is-primary mt-3 {template_classes.info_button|attr}" icon="chevron-right" icon_classes="icon--medium" /} {/event.normalized.provider} {?event.normalized.virtual_event_link} - {>"ui/button-link" link=event.normalized.virtual_event_link classes="is-primary mt-3 {template_classes.info_button|s}" icon="chevron-right" icon_classes="icon--medium" /} + {>"ui/button-link" link=event.normalized.virtual_event_link classes="is-primary mt-3 {template_classes.info_button|attr}" icon="chevron-right" icon_classes="icon--medium" /} {/event.normalized.virtual_event_link} diff --git a/style.css b/style.css index 9738444..5606b44 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,7 @@ /* * Theme Name: TMS Theme Sara Hilden * Description: Tampere Multisite Sara Hilden Theme - * Version: 1.7.3 + * Version: 1.8.0 * Author: Geniem * Author URI: https://geniem.fi * Template: tms-theme-base