diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-26 18:05:11 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-05-26 18:05:11 +0200 |
commit | e466d72058b2543bec69c77d2730828acada38a1 (patch) | |
tree | aeb1a73e02c3d28409e96eb0591a7e28846b5539 /view | |
parent | 528b9b6a60d847b0ecb639cb7fb8e01ee79b11d4 (diff) | |
download | volse-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')
-rwxr-xr-x | view/tpl/event_item_header.tpl | 6 |
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> {{$title}}</h3> </div> +{{if $oneday && $allday}} +<span class="dtstart">{{$dtstart_dt}}</span> +{{else if $allday}} +<span class="dtstart">{{$dtstart_dt}}</span> — <span class="dtend">{{$dtend_dt}}</span> +{{else}} <div class="event-item-start"> <span class="event-item-label">{{$dtstart_label}}</span> <span class="dtstart" title="{{$dtstart_title}}">{{$dtstart_dt}}</span> </div> @@ -9,3 +14,4 @@ <span class="event-item-label">{{$dtend_label}}</span> <span class="dtend" title="{{$dtend_title}}">{{$dtend_dt}}</span> </div> {{/if}} +{{/if}} |