]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/event_stream_item.tpl
Merge pull request #7828 from nupplaphil/task/move_enotify
[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 nofilter}}</div>
16
17                                         {{* If there is a map, we insert a button for showing/hiding the map *}}
18                                         {{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}}
19                                         <div class="event-property">
20                                                 <span class="event-date">
21                                                         <span class="event-start dtstart" title="{{$dtstart_title}}">{{$start_short}}</span>
22                                                         {{if $finish}} - <span class="event-end dtend" title="{{$dtend_title}}">{{if $same_date}}{{$end_time}}{{else}}{{$end_short}}{{/if}}</span>{{/if}}
23                                                 </span>
24                                                 {{if $location.name}}
25                                                 <span role="presentation" aria-hidden="true"> ยท </span>
26                                                 <span class="event-location event-card-location">{{$location.name nofilter}}</span>
27                                                 {{/if}}
28                                         </div>
29                                         <div class="event-card-profile-name profile-entry-name">
30                                                 <a href="{{$author_link}}" class="userinfo hover-card">{{$author_name}}</a>
31                                         </div>
32                                         {{if $location.map}}
33                                         <div id="event-location-map-{{$id}}" class="event-location-map">{{$location.map nofilter}}</div>
34                                         {{/if}}
35                                 </div>
36                                 <div class="clearfix"></div>
37                         </div>
38                 </div>
39         </div>
40         <div class="clearfix"></div>
41
42         {{* The content of the event description *}}
43         {{if $description}}
44         <div class="description event-description">
45                 {{$description nofilter}}
46         </div>
47         {{/if}}
48 </div>