diff --git a/tasks/templates/tasks/index.djhtml b/tasks/templates/tasks/index.djhtml
index c66d0bd..28cf054 100644
--- a/tasks/templates/tasks/index.djhtml
+++ b/tasks/templates/tasks/index.djhtml
@@ -4,24 +4,20 @@
{% block content %}
Tools
- {% if tools %}
-
- {% else %}
- No tools are available.
- {% endif %}
+
+ {% for tool in tools %}
+ - {{ tool.name }}
+ {% empty %}
+ No tools are available.
+ {% endfor %}
+
Tasks
- {% if tasks %}
-
- {% for task in tasks %}
- - {{ task.name }} - last at {{ task.last_event.date|date }}, next at {{ task.next_recurrence|date }}
- {% endfor %}
-
- {% else %}
- No tasks are available.
- {% endif %}
+
+ {% for task in tasks %}
+ - {{ task.name }} - last at {{ task.last_event.date|date }}, next at {{ task.next_recurrence|date }}
+ {% empty %}
+ No tasks are available.
+ {% endfor %}
+
{% endblock %}