aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_item_header.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
committerzotlabs <mike@macgirvin.com>2019-05-28 16:16:29 -0700
commit932b4140637e22e9fb4ff3a91a9c8f186915646b (patch)
treec6e6b8c19079d34fda0fa11d3af26ddef69ae2b6 /view/tpl/event_item_header.tpl
parent7c2aafd4ee123f9db1ea2733119e0711f53414cc (diff)
parentca8d252ad75306e6d3cd066d5c593e94de1dfbdd (diff)
downloadvolse-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-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}}