From 3596877f543425188be39da89a5cb52e6f97957a Mon Sep 17 00:00:00 2001 From: Dusty Phillips Date: Wed, 6 Aug 2008 17:58:15 -0400 Subject: improve the template --- packages/views.py | 2 +- templates/packages/signoffs.html | 8 +++++++- 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 %} @@ -16,6 +16,9 @@ Package Maintainer Version + Last Updated + Approved + Signoff {% for pkg in packages %} @@ -23,6 +26,9 @@ {{ pkg.pkgname }} {{ pkg.maintainer|default:"Orphan" }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} + {{ pkg.last_update }} + + {% endfor %} -- cgit v1.2.3-54-g00ecf