Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TMS-1059: Add Sign up-section to event partial #59

Merged
merged 1 commit into from
Nov 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ 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.3.2] - 2024-09-25

- TMS-1067: Show price-info for event in listing if it's free
Expand Down
10 changes: 10 additions & 0 deletions partials/views/single-dynamic-event/single-dynamic-event-info.dust
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,16 @@
</div>
{/event.normalized.price}

{?event.normalized.link_sign_up}
<div class="info-group mb-5 has-border-gray has-border-1 {template_classes.info_group|attr}">
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.sign_up_title template_classes=template_classes.info_group_title icon="link" /}

<div class="info-group__description has-text-small has-text-small pt-1 pr-8 pb-4 pl-9">
<a href="{event.normalized.link_sign_up.url|url}" target="_blank" class="is-block">{event.normalized.link_sign_up.name|html}</a>
</div>
</div>
{/event.normalized.link_sign_up}

{?event.normalized.provider}
<div class="info-group mb-5 has-border-gray has-border-1 {template_classes.info_group|attr}">
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.provider_title template_classes=template_classes.info_group_title icon="bullhorn" /}
Expand Down
Loading