summaryrefslogtreecommitdiff
path: root/packages/views.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 12:44:12 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 12:44:15 -0500
commitf46e5b1a94c845ea2125b4f9d6777dff56c9ad29 (patch)
tree7248080d5f74fe38754ad4d2fbbb377cad811fa3 /packages/views.py
parenteb6aaf6759ac6626c06612dbde9b160927501f3b (diff)
Generalize group details page
We will be able to use this same table-based package listing elsewhere. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'packages/views.py')
-rw-r--r--packages/views.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views.py
index d393e694..374a1a20 100644
--- a/packages/views.py
+++ b/packages/views.py
@@ -111,11 +111,12 @@ def group_details(request, arch, name):
if len(pkgs) == 0:
raise Http404
context = {
- 'groupname': name,
+ 'list_title': 'Group Details',
+ 'name': name,
'arch': arch,
'packages': pkgs,
}
- return direct_to_template(request, 'packages/group_details.html', context)
+ return direct_to_template(request, 'packages/packages_list.html', context)
def getmaintainer(request, name, repo, arch):
"Returns the maintainers as plaintext."