summaryrefslogtreecommitdiffstats
path: root/templates/todolists/view.html
blob: b77e6e76fe11838daeaa394075ca2cb3afc4447e (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
{% extends "base.html" %}

{% block content %}
	<div class="greybox">
		<h3 class="title">ToDo List: {{ list.name }}</h2>
		<table class="results" width="100%">
			<tr>
				<th>ID</th>
				<th>Arch</th>
				<th>Repo</th>
				<th>Name</th>
				<th>Maintainer</th>
				<th>Status</th>
			</tr>
		{% for pkg in pkgs %}
            <tr class="{% cycle pkgr1,pkgr2 %}">
				<td><a href="/packages/{{ pkg.pkg.id }}/">{{ pkg.pkg.id }}</a></td>
				<td>{{ pkg.pkg.arch.name  }}</td>
				<td>{{ pkg.pkg.repo.name  }}</td>
				<td>{{ pkg.pkg.pkgname  }}</td>
				<td>{{ pkg.pkg.maintainer.get_full_name  }}</td>
				<td>
				{% if pkg.complete %}
					<a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/"><span style="color:blue">Complete</span></a>
				{% else %}
					<a href="/todo/flag/{{ list.id }}/{{ pkg.id }}/"><span style="color:red">Incomplete</span></a>
				{% endif %}
				</td>
			</tr>
		{% endfor %}
		</table>
	</div>
{% endblock %}