home · contact · privacy
Add foreign key restraints, expand and fix tests, add deletion and forking.
[misc] / todo_templates / calendar_export.html
1 {% import 'macros.html' as macros %}
2 <html>
3 <body>
4 <table>
5 {% for date, day in days.items() %}
6 {% if day.month_title %}
7 <tr><td colspan=3>### {{ day.month_title }} ###</td></tr>
8 {% endif %}
9 {% if day.visible_in_export %}
10 <tr><td colspan=3># {{ date }} ({{ day.weekday }}) {{ day.comment|e }}</td></tr>
11 {% for todo in day.linked_todos_as_list %}
12 {% if todo.visible %}
13 <tr>
14 <td>
15 {% if "cancelled" in todo.tags %}<s>{% endif %}
16 {{ macros.doneness_string(todo, true) }}
17 {% if "deadline" in todo.tags %}DEADLINE: {% endif %}
18 {{ todo.title|e }}
19 {%if "cancelled" in todo.tags%}</s>{% endif %}
20 </td>
21 <td>
22 {{ todo.comment|e }}
23 </td>
24 </tr>
25 {% endif %}
26 {% endfor %}
27 {% endif %}
28 {% endfor %}
29 </table>
30 </body>
31 </html>