From 83ded97419c54d6d2fd2d9ec13a925a5a3daa9e1 Mon Sep 17 00:00:00 2001 From: Lars Henrik Mai Date: Tue, 21 Oct 2014 22:10:48 +0200 Subject: added basic calendar powered by json data --- source/aktuelles/kalender.html.haml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/aktuelles/kalender.html.haml b/source/aktuelles/kalender.html.haml index 7876565..437bc52 100644 --- a/source/aktuelles/kalender.html.haml +++ b/source/aktuelles/kalender.html.haml @@ -3,5 +3,15 @@ section: "aktuelles" --- %h2 Termine -%div - = lorem.paragraph +- data.calendar.map {|data| CalendarHelpers::Event.new(data)}.each do |ev| + .row + .large-12.columns + %h4= ev.date + .row + .large-2.large-offset-1.columns + %span= ev.start_time + \- + %span= ev.end_time + .large-9.columns + %span= ev.summary + -- cgit v1.2.1