From 056db37c662864954181fea9c1af48d69866340f Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 26 Nov 2015 22:14:20 +0100 Subject: beautify event item code --- view/tpl/event_item_content.tpl | 10 ++++++++++ view/tpl/event_item_header.tpl | 11 +++++++++++ 2 files changed, 21 insertions(+) create mode 100644 view/tpl/event_item_content.tpl create mode 100755 view/tpl/event_item_header.tpl (limited to 'view') 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}} +
+ {{$description}} +
+{{/if}} +{{if $location}} +
+ {{$location_label}} {{$location}} +
+{{/if}} 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 @@ +
+

{{$title}}

+
+
+ {{$dtstart_label}} {{$dtstart_dt}} +
+{{if $finish}} +
+ {{$dtend_label}} {{$dtend_dt}} +
+{{/if}} -- cgit v1.2.3