-
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
4 changed files
with
61 additions
and
43 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
50 changes: 31 additions & 19 deletions
50
partials/views/page-events-calendar/page-events-calendar-item-grid.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,58 +1,70 @@ | ||
<div class="events__item has-height-100 {item_classes.grid.item|s}"> | ||
<div class="events__item has-height-100 {item_classes.grid.item|attr}"> | ||
{?image} | ||
<div class="image is-relative is-4by3" aria-hidden="true"> | ||
<a href="{url}" aria-hidden="true" tabindex="-1"> | ||
<img src="{image}" alt="" class="objectfit-image"> | ||
<a href="{url|url}" aria-hidden="true" tabindex="-1"> | ||
<img src="{image|url}" alt="" class="objectfit-image"> | ||
</a> | ||
|
||
{?primary_keyword} | ||
<span class="pill is-absolute has-bottom-2 has-left-2 is-bordered is-secondary"> | ||
{primary_keyword|s} | ||
{primary_keyword|html} | ||
</span> | ||
{/primary_keyword} | ||
|
||
</div> | ||
{/image} | ||
|
||
<div class="events__item-inner pt-5 pb-6 {item_classes.grid.item_inner|s}"> | ||
<div class="events__item-inner pt-5 pb-6 {item_classes.grid.item_inner|attr}"> | ||
<h3 class="h5 mt-0 mb-5"> | ||
<a href="{url}" class="has-text-black"> | ||
{name|s} | ||
<a href="{url|url}" class="has-text-black"> | ||
{name|html} | ||
</a> | ||
</h3> | ||
|
||
<p class="has-text-small"> | ||
{short_description|s} | ||
{short_description|kses} | ||
</p> | ||
|
||
<div class="is-flex is-align-items-center mt-2 mb-2"> | ||
<span class="is-flex" aria-label="{Strings.s.event.date|s}"> | ||
{>"ui/icon" icon="date" class="icon--large is-primary mr-2 {item_classes.grid.icon|s}" /} | ||
<span class="is-flex" aria-label="{Strings.s.event.date|attr}"> | ||
{>"ui/icon" icon="date" class="icon--large is-primary mr-2 {item_classes.grid.icon|attr}" /} | ||
</span> | ||
|
||
{date|s} | ||
{date|html} | ||
</div> | ||
|
||
<div class="is-flex is-align-items-center mt-2 mb-2"> | ||
<span class="is-flex" aria-label="{Strings.s.event.time|s}"> | ||
{>"ui/icon" icon="time" class="icon--large is-primary mr-2 {item_classes.grid.icon|s}" /} | ||
<span class="is-flex" aria-label="{Strings.s.event.time|attr}"> | ||
{>"ui/icon" icon="time" class="icon--large is-primary mr-2 {item_classes.grid.icon|attr}" /} | ||
</span> | ||
|
||
{time|s} | ||
{time|html} | ||
</div> | ||
|
||
{?location.name} | ||
<div class="is-flex is-align-items-center mt-2 mb-2"> | ||
<span class="is-flex" aria-label="{Strings.s.event.location|s}"> | ||
{>"ui/icon" icon=location_icon class="icon--large is-primary mr-2 {item_classes.grid.icon|s}" /} | ||
<span class="is-flex" aria-label="{Strings.s.event.location|attr}"> | ||
{>"ui/icon" icon=location_icon class="icon--large is-primary mr-2 {item_classes.grid.icon|attr}" /} | ||
</span> | ||
|
||
{location.name|s} | ||
{location.name|html} | ||
</div> | ||
{/location.name} | ||
|
||
<a href="{url}" class="button is-primary is-small mt-4"> | ||
{Strings.s.common.read_more|s} | ||
{#price} | ||
{?is_free} | ||
<div class="is-flex is-align-items-center mt-2 mb-2 {classes.event_item_text|attr}"> | ||
<span class="is-flex" aria-label="{Strings.s.event.price|attr}"> | ||
{>"ui/icon" icon="euro" class="icon--large is-primary mr-2 {item_classes.grid.icon|attr}" /} | ||
</span> | ||
|
||
{price|html} | ||
</div> | ||
{/is_free} | ||
{/price} | ||
|
||
<a href="{url|url}" class="button is-primary is-small mt-4"> | ||
{Strings.s.common.read_more|html} | ||
</a> | ||
</div> | ||
</div> |
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
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