summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDusty Phillips <buchuki@gmail.com>2008-08-06 17:58:15 -0400
committerDusty Phillips <buchuki@gmail.com>2008-08-06 17:58:15 -0400
commit3596877f543425188be39da89a5cb52e6f97957a (patch)
tree687da2133d0cca7f7fdfa1a0b7245f79c6f4a442
parent1cab1fe84194663d5c9d92e0755a3a0a03e13a27 (diff)
improve the template
-rw-r--r--packages/views.py2
-rw-r--r--templates/packages/signoffs.html8
2 files changed, 8 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views.py
index 5b2da419..4fec2558 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -146,7 +146,7 @@ def unflag(request, pkgid):
return HttpResponseRedirect('/packages/%d/' % (pkg.id))
def signoffs(request):
- packages = Package.objects.filter(repo__name="Testing")
+ packages = Package.objects.filter(repo__name="Testing").order_by("pkgname")
return render_response(request, 'packages/signoffs.html',
{'packages': packages})
diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html
index 16faa050..5c40006e 100644
--- a/templates/packages/signoffs.html
+++ b/templates/packages/signoffs.html
@@ -1,7 +1,7 @@
{% load validation %}
{% load package_extras %}
{% extends "base.html" %}
-{% block title %}Arch Linux - Package Search{% endblock %}
+{% block title %}Arch Linux - Package Signoffs{% endblock %}
{% block head %}
<script type="text/JavaScript" src="/media/calendar.js"></script>
<link href="/media/calendar.css" rel="stylesheet" type="text/css" />
@@ -16,6 +16,9 @@
<th>Package</th>
<th>Maintainer</th>
<th>Version</th>
+ <th>Last Updated</th>
+ <th>Approved</th>
+ <th>Signoff</th>
</tr>
{% for pkg in packages %}
<tr class="{% cycle pkgr2,pkgr1 %}">
@@ -23,6 +26,9 @@
<td><a href="{{ pkg.get_absolute_url }}">{{ pkg.pkgname }}</a></td>
<td>{{ pkg.maintainer|default:"Orphan" }}</td>
<td>{{ pkg.pkgver }}-{{ pkg.pkgrel }}</td>
+ <td>{{ pkg.last_update }}</td>
+ <td></td>
+ <td></td>
</tr>
{% endfor %}
</table>