diff options
author | Christian Franke <nobody@nowhere.ws> | 2016-04-04 11:04:38 -0300 |
---|---|---|
committer | Christian Franke <nobody@nowhere.ws> | 2016-04-04 11:04:38 -0300 |
commit | c5cc5086d00786cfb8696655ffbd95922dc5d68c (patch) | |
tree | 9d4830dc5af572c703dc0be1d8e8797aef3d9494 /template/calendar_head.j2 | |
parent | de724c6a5efafd575c25953ba4d824b05a9f7e21 (diff) |
Include onetime events in head
Diffstat (limited to 'template/calendar_head.j2')
-rw-r--r-- | template/calendar_head.j2 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/template/calendar_head.j2 b/template/calendar_head.j2 new file mode 100644 index 0000000..d8df951 --- /dev/null +++ b/template/calendar_head.j2 @@ -0,0 +1,10 @@ +<div class="calendar-listing {{ class }}"> +{%- for event in events[:7] %} + {% include 'calendar_event.j2' %} +{%- endfor %} +{%- for event in events[7:] %} + {% if not event.recurring %} + {% include 'calendar_event.j2' %} + {% endif %} +{%- endfor %} +</div> |