Add the tasks to be shown on the index page.
This commit is contained in:
@@ -3,4 +3,19 @@
|
||||
|
||||
{% block content %}
|
||||
<center><h1>Tasks</h1></center>
|
||||
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<td>Status</td>
|
||||
<td>Name</td>
|
||||
<td>Description</td>
|
||||
</tr>
|
||||
{% for task in tasks %}
|
||||
<tr>
|
||||
<td>{{ task.status }}</td>
|
||||
<td>{{ task.name }}</td>
|
||||
<td>{{ task.description | truncatewords:10 }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user