diff --git a/CHANGELOG.MD b/CHANGELOG.MD index ce38458..06a8230 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-1067: Show price-info for event in listing if it's free + ## [1.3.1] - 2024-08-21 - TMS-1057: Increase articles lead-text font-size diff --git a/partials/views/page-events-calendar/page-events-calendar-item-grid.dust b/partials/views/page-events-calendar/page-events-calendar-item-grid.dust index 766974e..0795286 100644 --- a/partials/views/page-events-calendar/page-events-calendar-item-grid.dust +++ b/partials/views/page-events-calendar/page-events-calendar-item-grid.dust @@ -50,5 +50,17 @@ {location.name|html} {/location.name} + + {#price} + {?is_free} +
+ + {>"ui/icon" icon="euro" class="icon--large is-primary mr-2 {item_classes.grid.icon|attr}" /} + + + {price|html} +
+ {/is_free} + {/price} diff --git a/partials/views/page-events-calendar/page-events-calendar-item-list.dust b/partials/views/page-events-calendar/page-events-calendar-item-list.dust index 421d53a..49ce48d 100644 --- a/partials/views/page-events-calendar/page-events-calendar-item-list.dust +++ b/partials/views/page-events-calendar/page-events-calendar-item-list.dust @@ -1,19 +1,19 @@ -
+
{?image}
- {?primary_keyword} - {primary_keyword|s} + {primary_keyword|html} {/primary_keyword}
@@ -22,45 +22,45 @@

- - {name|s} + + {name|html}

-
- - {>"ui/icon" icon="date" class="icon--large is-primary mr-2 {item_classes.list.icon|s}" /} +
+ + {>"ui/icon" icon="date" class="icon--large is-primary mr-2 {item_classes.list.icon|attr}" /} - {date|s} + {date|html}
-
- - {>"ui/icon" icon="time" class="icon--large is-primary mr-2 {item_classes.list.icon|s}" /} +
+ + {>"ui/icon" icon="time" class="icon--large is-primary mr-2 {item_classes.list.icon|attr}" /} - {time|s} + {time|html}
{?location.name} -
- - {>"ui/icon" icon=location_icon class="icon--large is-primary mr-2 {item_classes.list.icon|s}" /} +
+ + {>"ui/icon" icon=location_icon class="icon--large is-primary mr-2 {item_classes.list.icon|attr}" /} - {location.name|s} + {location.name|html}
{/location.name}
-

- {short_description|s} +

+ {short_description|html}

- {Strings.s.common.read_more|s} + {Strings.s.common.read_more|html}