diff options
author | zotlabs <mike@macgirvin.com> | 2019-05-28 16:16:29 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2019-05-28 16:16:29 -0700 |
commit | 932b4140637e22e9fb4ff3a91a9c8f186915646b (patch) | |
tree | c6e6b8c19079d34fda0fa11d3af26ddef69ae2b6 /view/tpl/event_item_header.tpl | |
parent | 7c2aafd4ee123f9db1ea2733119e0711f53414cc (diff) | |
parent | ca8d252ad75306e6d3cd066d5c593e94de1dfbdd (diff) | |
download | volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.gz volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.tar.bz2 volse-hubzilla-932b4140637e22e9fb4ff3a91a9c8f186915646b.zip |
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'view/tpl/event_item_header.tpl')
-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}} |