adjust jinja2 templates to handle cases of no description

This commit is contained in:
williamp committed 2022-12-01 22:51:34 -05:00
1 parent 2b315caf9e
commit da225224b0
4 files changed
+12 -3

No files matched your search

+3 -1
View File
@@ -8,7 +8,9 @@
<div>
<div>
<br>
<p>{{ task.description }}</p>
{% if task.description != None %}
<p>{{ task.description }}</p>
{% endif %}
</div>
<div>
<p>Created: {{ createdTime.strftime('%Y-%m-%d %I:%M %p') }} </p>