summaryrefslogtreecommitdiff
path: root/template/calendar_event.j2
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2016-04-05 11:26:14 -0300
committerChristian Franke <nobody@nowhere.ws>2016-04-05 11:26:14 -0300
commitf1989fe72df0a7cb4394ebe2ab6fe5d8ff408a38 (patch)
treefb3c6eddd44549fc2a1d368ea6b33cd71ffbfbca /template/calendar_event.j2
parentc5cc5086d00786cfb8696655ffbd95922dc5d68c (diff)
Add tabular calendar
Diffstat (limited to 'template/calendar_event.j2')
-rw-r--r--template/calendar_event.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/template/calendar_event.j2 b/template/calendar_event.j2
index 106b65a..c8418f1 100644
--- a/template/calendar_event.j2
+++ b/template/calendar_event.j2
@@ -1,7 +1,7 @@
{%- if event.recurring %}
-<p class="recurring">
+<p class="recurring" {% if 'id' in event %}id="event-{{event.id}}"{% endif %}>
{%- else %}
-<p class="onetime">
+<p class="onetime" {% if 'id' in event %}id="event-{{event.id}}"{% endif %}>
{%- endif -%}
<span class="date">
{%- if event.multiday %}