From: Christian Heller Date: Fri, 12 Jul 2024 07:01:23 +0000 (+0200) Subject: Add previously forgotten GET /calendar_txt template. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/error?a=commitdiff_plain;h=8e4b4d5e104c761f3ed263954bbe8d1631bbf0d4;p=plomtask Add previously forgotten GET /calendar_txt template. --- diff --git a/templates/calendar_txt.html b/templates/calendar_txt.html new file mode 100644 index 0000000..567ddd8 --- /dev/null +++ b/templates/calendar_txt.html @@ -0,0 +1,20 @@ +{% extends '_base.html' %} + +{% block content %} +

calendar

+ +

normal view

+ +
+from +to + +
+ + +
{% for day in days %}{% if day.weekday == "Monday" %}
+---{% endif %}{% if day.comment or day.calendarized_todos %}
+{{day.weekday|truncate(2,True,'',0)}} {{day.date}} {{day.comment|e}}{% endif %}{% if day.calendarized_todos%}{% for todo in day.calendarized_todos %}
+* {{todo.title_then|e}}{% if todo.comment %} / {{todo.comment|e}}{% endif %}{% endfor %}{% endif %}{% endfor %}
+
+{% endblock %}