aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/event_item_content.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_content.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_content.tpl')
-rw-r--r--view/tpl/event_item_content.tpl10
1 files changed, 10 insertions, 0 deletions
diff --git a/view/tpl/event_item_content.tpl b/view/tpl/event_item_content.tpl
new file mode 100644
index 000000000..868e5ad27
--- /dev/null
+++ b/view/tpl/event_item_content.tpl
@@ -0,0 +1,10 @@
+{{if $description}}
+<div class="event-description">
+ {{$description}}
+</div>
+{{/if}}
+{{if $location}}
+<div class="event-location">
+ <span class="event-label">{{$location_label}}</span>&nbsp;<span class="event_location">{{$location}}</span>
+</div>
+{{/if}}