]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/event_stream_item.tpl
Merge pull request #5823 from annando/ap-attach
[friendica.git] / view / theme / frio / templates / event_stream_item.tpl
1
2 <div class="vevent event-card">
3         <div class="vevent-header">
4                 <div class="event-card-details">
5                         {{* The part with the event data (start, end, location, title *}}
6                         <div class="event-card-header">
7                                 {{* On the left we will present the date in short form (e.g. Oct 15) *}}
8                                 <div class="event-card-left-date">
9                                         <span class="event-date-wrapper medium">
10                                                 <span class="event-card-short-month">{{$month_short}}</span>
11                                                 <span class="event-card-short-date">{{$date_short}}</span>
12                                         </span>
13                                 </div>
14                                 <div class="event-card-content media-body">
15                                         <div class="event-title event-card-title summary event-summary">{{$title}}</div>
16                                         {{* If there is a map, we insert a button for showing/hiding the map *}}
17                                         {{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}}
18                                         <div class="event-property">
19                                                 <span class="event-date">
20                                                         <span class="event-start dtstart" title="{{$dtstart_title}}">{{$start_short}}</span>
21                                                         {{if $finish}} - <span class="event-end dtend" title="{{$dtend_title}}">{{if $same_date}}{{$end_time}}{{else}}{{$end_short}}{{/if}}</span>{{/if}}
22                                                 </span>
23                                                 {{if $location.name}}
24                                                 <span role="presentation" aria-hidden="true"> ยท </span>
25                                                 <span class="event-location event-card-location">{{$location.name}}</span>
26                                                 {{/if}}
27                                         </div>
28                                         <div class="event-card-profile-name profile-entry-name">
29                                                 <a href="{{$author_link}}" class="userinfo">{{$author_name}}</a>
30                                         </div>
31                                         {{if $location.map}}
32                                         <div id="event-location-map-{{$id}}" class="event-location-map">{{$location.map}}</div>
33                                         {{/if}}
34                                 </div>
35                                 <div class="clearfix"></div>
36                         </div>
37                 </div>
38         </div>
39         <div class="clearfix"></div>
40
41         {{* The content of the event description *}}
42         {{if $description}}
43         <div class="description event-description">
44                 {{$description}}
45         </div>
46         {{/if}}
47 </div>