aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_item_header.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-11-26 22:14:20 +0100
committerMario Vavti <mario@mariovavti.com>2015-11-26 22:14:20 +0100
commit056db37c662864954181fea9c1af48d69866340f (patch)
treeb85749b9dbd1973e03035727729a26e999b95b48 /view/tpl/event_item_header.tpl
parent5cb71fa5da219e97a4c105c6025ff9b79553a38c (diff)
downloadvolse-hubzilla-056db37c662864954181fea9c1af48d69866340f.tar.gz
volse-hubzilla-056db37c662864954181fea9c1af48d69866340f.tar.bz2
volse-hubzilla-056db37c662864954181fea9c1af48d69866340f.zip
beautify event item code
Diffstat (limited to 'view/tpl/event_item_header.tpl')
-rwxr-xr-xview/tpl/event_item_header.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/event_item_header.tpl b/view/tpl/event_item_header.tpl
new file mode 100755
index 000000000..de1899457
--- /dev/null
+++ b/view/tpl/event_item_header.tpl
@@ -0,0 +1,11 @@
+<div class="event-title">
+ <h3>{{$title}}</h3>
+</div>
+<div class="event-start">
+ <span class="event-label">{{$dtstart_label}}</span>&nbsp;<span class="dtstart" title="{{$dtstart_title}}">{{$dtstart_dt}}</span>
+</div>
+{{if $finish}}
+<div class="event-start">
+ <span class="event-label">{{$dtend_label}}</span>&nbsp;<span class="dtend" title="{{$dtend_title}}">{{$dtend_dt}}</span>
+</div>
+{{/if}}