blob: 9b4233422c01d0dd49dcb721504fc125eed0f0cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% extends "base.html" %}
{% block content %}
<div class="greybox">
{% if perms.main.add_todolist %}
<div style="float:right">
<a href="/todo/add/">Add Todo List</a>
</div>
{% endif %}
<h2 class="title">Package ToDo lists</h2>
<table class="results" width="100%">
<thead>
<tr>
<th>Name</th>
<th>Creation Date</th>
<th>Creator</th>
<th>Description</th>
<th>Status</th>
</tr>
</thead>
<tbody>
{% for list in lists %}
<tr class="{% cycle pkgr2,pkgr1 %}">
<td style="white-space:nowrap"><a href="/todo/{{ list.id }}/">{{ list.name }}</a></td>
<td>{{ list.date_added }}</td>
<td>{{ list.creator.get_full_name }}</td>
<td>{{ list.description }}</td>
<td>{% if list.complete %}<span style="color:blue">Complete</span>{% else %}<span style="color:red">Incomplete</span>{% endif %}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endblock %}
|