-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 29 additions & 19 deletions
48
partials/views/single-dynamic-event/single-dynamic-event-info.dust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,94 @@ | ||
{?event.normalized.date} | ||
<div class="info-group mb-5 {template_classes.info_group|s}"> | ||
<div class="info-group mb-5 {template_classes.info_group|attr}"> | ||
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.date_title template_classes=template_classes.info_group_title icon="date" /} | ||
|
||
<div class="info-group__description pr-8 pb-3 pl-9"> | ||
{event.normalized.date|s} | ||
{event.normalized.date|html} | ||
</div> | ||
</div> | ||
{/event.normalized.date} | ||
|
||
{?event.normalized.time} | ||
<div class="info-group mb-5 {template_classes.info_group|s}"> | ||
<div class="info-group mb-5 {template_classes.info_group|attr}"> | ||
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.time_title template_classes=template_classes.info_group_title icon="time" /} | ||
|
||
<div class="info-group__description pr-8 pb-3 pl-9"> | ||
{event.normalized.time|s} | ||
{event.normalized.time|html} | ||
</div> | ||
</div> | ||
{/event.normalized.time} | ||
|
||
{?event.normalized.location} | ||
<div class="info-group mb-5 {template_classes.info_group|s}"> | ||
<div class="info-group mb-5 {template_classes.info_group|attr}"> | ||
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.location_title template_classes=template_classes.info_group_title icon="location" /} | ||
|
||
<div class="info-group__description pr-8 pb-3 pl-9"> | ||
<div>{event.normalized.location.name|s}</div> | ||
<div>{event.normalized.location.description|s}</div> | ||
<div>{event.normalized.location.extra_info|s}</div> | ||
<div>{event.normalized.location.name|html}</div> | ||
<div>{event.normalized.location.description|html}</div> | ||
<div>{event.normalized.location.extra_info|html}</div> | ||
{>"ui/link" link=event.normalized.location.info_url classes="is-inline-block mt-2" /} | ||
</div> | ||
</div> | ||
{/event.normalized.location} | ||
|
||
{?event.normalized.price} | ||
<div class="info-group mb-5 {template_classes.info_group|s}"> | ||
<div class="info-group mb-5 {template_classes.info_group|attr}"> | ||
{>"views/single-dynamic-event/single-dynamic-event-group-title" title=event.normalized.price_title template_classes=template_classes.info_group_title icon="euro" /} | ||
|
||
<div class="info-group__description pr-8 pb-3 pl-9"> | ||
{#event.normalized.price} | ||
<div> | ||
{price|s} | ||
{price|html} | ||
</div> | ||
<div> | ||
{description|s} | ||
{description|html} | ||
</div> | ||
{>"ui/link" link=info_url /} | ||
{/event.normalized.price} | ||
</div> | ||
</div> | ||
{/event.normalized.price} | ||
|
||
{?event.normalized.link_sign_up} | ||
<div class="info-group mb-5 {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 pr-8 pb-3 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 {template_classes.info_group|s}"> | ||
<div class="info-group mb-5 {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" /} | ||
|
||
<div class="info-group__description pr-8 pb-3 pl-9"> | ||
<div>{event.normalized.provider.name|s}</div> | ||
<div>{event.normalized.provider.name|html}</div> | ||
|
||
{?event.normalized.provider.email} | ||
<div> | ||
<a href="mailto:{event.normalized.provider.email}" | ||
<a href="mailto:{event.normalized.provider.email|attr}" | ||
class="has-text-black"> | ||
{event.normalized.provider.email|s} | ||
{event.normalized.provider.email|html} | ||
</a> | ||
</div> | ||
{/event.normalized.provider.email} | ||
|
||
{?event.normalized.provider.phone} | ||
<div> | ||
<a href="tel:{event.normalized.provider.phone}" | ||
<a href="tel:{event.normalized.provider.phone|attr}" | ||
class="has-text-black"> | ||
{event.normalized.provider.phone|s} | ||
{event.normalized.provider.phone|html} | ||
</a> | ||
</div> | ||
{/event.normalized.provider.phone} | ||
</div> | ||
</div> | ||
|
||
{>"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} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters