event items are now more themeable in the networkstream.
The event description stays the same - but the theme developer can provide an template how the other event data should be organized and look
This commit is contained in:
parent
0882b2df97
commit
553428d1b1
8 changed files with 478 additions and 154 deletions
29
view/templates/event_stream_item.tpl
Normal file
29
view/templates/event_stream_item.tpl
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
<div class="vevent">
|
||||
<div class="summary event-summary">{{$title}}</div>
|
||||
|
||||
<div class="event-start">
|
||||
<span class="event-label">{{$dtstart_label}}</span>
|
||||
<span class="dtstart" title="$dtstart_title">{{$dtstart_dt}}</span>
|
||||
</div>
|
||||
|
||||
{{if $finish}}
|
||||
<div class="event-end">
|
||||
<span class="event-label">{{$dtstart_label}}</span>
|
||||
<span class="dend" title="$dtend_title">{{$dtend_dt}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
<div class="description event-description">{{$description}}</div>
|
||||
|
||||
{{if $location}}
|
||||
<div class="event-location">
|
||||
<span class="event-label">{{$location_label}}</span>
|
||||
{{if $location.name}}
|
||||
<span class="event-location">{{$location.name}}</span>
|
||||
{{/if}}
|
||||
{{if $location.map}}{{$location.map}}{{/if}}
|
||||
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue