summaryrefslogtreecommitdiffstats
path: root/templates/agenda/event_calendar.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/agenda/event_calendar.html')
-rwxr-xr-xtemplates/agenda/event_calendar.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/agenda/event_calendar.html b/templates/agenda/event_calendar.html
new file mode 100755
index 0000000..b991549
--- /dev/null
+++ b/templates/agenda/event_calendar.html
@@ -0,0 +1,15 @@
+<table class="cal_month_calendar">
+<tr>
+{% for day in headers %}
+<th>{{ day|date:"D"|slice:":2" }}</hd>
+{% endfor %}
+</tr>
+{% for week in calendar %}
+<tr>
+{% for day in week %}
+<td{% if not day.in_month %} class="cal_not_in_month"{% endif %}>{% if day.event %}<a href="/calendar/{{ day.day|date:"Y/m" }}/">{{ day.day|date:"j" }}</a>{% else %}{{ day.day|date:"j" }}{% endif %}</td>
+{% endfor %}
+</tr>
+{% endfor %}
+</table>
+