Changement template caldav

This commit is contained in:
Ambulance Clerc
2022-06-20 00:55:41 +02:00
parent c6a3d4c589
commit 6a5bc4a280
2 changed files with 21 additions and 10 deletions

View File

@@ -1,15 +1,17 @@
{% if latest_task_list %}
<ul>
{% for task in latest_task_list %}
<li><a "">{{ task.name }}</a></li>
{% endfor %}
</ul>
<table>
{% for task in latest_task_list %}
<tr><td style="font-weight: bold;" width="75" >{{task.key}}</td>&nbsp;&nbsp;&nbsp;&nbsp;<td style="{% if task.done %}text-decoration:line-through{% endif %}">{{ task.name }}</td></tr>
{% endfor %}
</table>
------------------------------------------------------
<ul>
{% for task in night_task_list %}
<li><a "">{{ task.name }}</a></li>
{% endfor %}
</ul>
<table>
{% for task in night_task_list %}
<tr><td style="font-weight: bold;" width="75" >{{task.key}}</td>&nbsp;&nbsp;&nbsp;&nbsp;<td style="{% if task.done %}text-decoration:line-through{% endif %}">{{ task.name }}</td></tr>
{% endfor %}
</table>
{% else %}
<p>No task are available.</p>
{% endif %}