adjust jinja2 templates to handle cases of no description
This commit is contained in:
@@ -9,7 +9,10 @@
|
||||
<p>
|
||||
<b><a href="/task/{{ event.tasks.id }}">
|
||||
{{ event.tasks.title }}
|
||||
</a></b> <br> {{ event.tasks.description }}
|
||||
|
||||
</a></b> <br>{% if event.tasks.description != None %}
|
||||
<p>{{ event.tasks.description }}</p>
|
||||
{% endif %}
|
||||
</p>
|
||||
{% else %}
|
||||
<div><p>(no task assigned... yet)</p></div>
|
||||
|
Reference in New Issue
Block a user