aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-05-26 18:05:11 +0200
committerMario Vavti <mario@mariovavti.com>2019-05-26 18:05:11 +0200
commite466d72058b2543bec69c77d2730828acada38a1 (patch)
treeaeb1a73e02c3d28409e96eb0591a7e28846b5539 /view/tpl
parent528b9b6a60d847b0ecb639cb7fb8e01ee79b11d4 (diff)
downloadvolse-hubzilla-e466d72058b2543bec69c77d2730828acada38a1.tar.gz
volse-hubzilla-e466d72058b2543bec69c77d2730828acada38a1.tar.bz2
volse-hubzilla-e466d72058b2543bec69c77d2730828acada38a1.zip
adjust birthday handling according to community decision and slightly change display of allday event items
Diffstat (limited to 'view/tpl')
-rwxr-xr-xview/tpl/event_item_header.tpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/view/tpl/event_item_header.tpl b/view/tpl/event_item_header.tpl
index 6247aaf6f..ed46c304f 100755
--- a/view/tpl/event_item_header.tpl
+++ b/view/tpl/event_item_header.tpl
@@ -1,6 +1,11 @@
<div class="event-item-title">
<h3><i class="fa fa-calendar"></i>&nbsp;{{$title}}</h3>
</div>
+{{if $oneday && $allday}}
+<span class="dtstart">{{$dtstart_dt}}</span>
+{{else if $allday}}
+<span class="dtstart">{{$dtstart_dt}}</span> &mdash; <span class="dtend">{{$dtend_dt}}</span>
+{{else}}
<div class="event-item-start">
<span class="event-item-label">{{$dtstart_label}}</span>&nbsp;<span class="dtstart" title="{{$dtstart_title}}">{{$dtstart_dt}}</span>
</div>
@@ -9,3 +14,4 @@
<span class="event-item-label">{{$dtend_label}}</span>&nbsp;<span class="dtend" title="{{$dtend_title}}">{{$dtend_dt}}</span>
</div>
{{/if}}
+{{/if}}