2017-10-13 19:42:27 +02:00
|
|
|
|
|
|
|
<div class="vevent event-card">
|
|
|
|
<div class="vevent-header">
|
|
|
|
<div class="event-card-details">
|
2017-10-19 14:16:39 +02:00
|
|
|
{{* The part with the event data (start, end, location, title *}}
|
2017-10-13 19:42:27 +02:00
|
|
|
<div class="event-card-header">
|
2017-10-19 14:16:39 +02:00
|
|
|
{{* On the left we will present the date in short form (e.g. Oct 15) *}}
|
2017-10-13 19:42:27 +02:00
|
|
|
<div class="event-card-left-date">
|
|
|
|
<span class="event-date-wrapper medium">
|
|
|
|
<span class="event-card-short-month">{{$month_short}}</span>
|
|
|
|
<span class="event-card-short-date">{{$date_short}}</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div class="event-card-content media-body">
|
2018-12-25 04:52:38 +01:00
|
|
|
<div class="event-title event-card-title summary event-summary">{{$title nofilter}}</div>
|
|
|
|
|
2017-10-19 14:16:39 +02:00
|
|
|
{{* If there is a map, we insert a button for showing/hiding the map *}}
|
2017-10-13 19:42:27 +02:00
|
|
|
{{if $location.map}}<button id="event-map-btn-{{$id}}" class="event-map-btn btn-link fakelink nav nav-pills preferences" data-map-id="event-location-map-{{$id}}" data-show-label="{{$show_map_label}}" data-hide-label="{{$hide_map_label}}">{{$map_btn_label}}</button>{{/if}}
|
|
|
|
<div class="event-property">
|
|
|
|
<span class="event-date">
|
2018-12-14 04:28:12 +01:00
|
|
|
<span class="event-start dtstart" title="{{$dtstart_title}}">{{$start_short}}</span>
|
|
|
|
{{if $finish}} - <span class="event-end dtend" title="{{$dtend_title}}">{{if $same_date}}{{$end_time}}{{else}}{{$end_short}}{{/if}}</span>{{/if}}
|
2017-10-13 19:42:27 +02:00
|
|
|
</span>
|
|
|
|
{{if $location.name}}
|
|
|
|
<span role="presentation" aria-hidden="true"> · </span>
|
2018-12-14 04:35:51 +01:00
|
|
|
<span class="event-location event-card-location">{{$location.name nofilter}}</span>
|
2017-10-13 19:42:27 +02:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="event-card-profile-name profile-entry-name">
|
2019-10-30 04:18:17 +01:00
|
|
|
<a href="{{$author_link}}" class="userinfo hover-card">{{$author_name}}</a>
|
2017-10-13 19:42:27 +02:00
|
|
|
</div>
|
|
|
|
{{if $location.map}}
|
2018-12-14 07:24:26 +01:00
|
|
|
<div id="event-location-map-{{$id}}" class="event-location-map">{{$location.map nofilter}}</div>
|
2017-10-13 19:42:27 +02:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
2017-10-19 14:16:39 +02:00
|
|
|
{{* The content of the event description *}}
|
2017-10-13 19:42:27 +02:00
|
|
|
{{if $description}}
|
|
|
|
<div class="description event-description">
|
2018-12-14 07:24:26 +01:00
|
|
|
{{$description nofilter}}
|
2017-10-13 19:42:27 +02:00
|
|
|
</div>
|
2017-10-18 20:44:29 +02:00
|
|
|
{{/if}}
|
2017-10-13 19:42:27 +02:00
|
|
|
</div>
|