summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/views.py5
-rw-r--r--templates/packages/packages_list.html (renamed from templates/packages/group_details.html)4
2 files changed, 5 insertions, 4 deletions
diff --git a/packages/views.py b/packages/views.py
index d393e69..374a1a2 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."
diff --git a/templates/packages/group_details.html b/templates/packages/packages_list.html
index 22b805d..c897aac 100644
--- a/templates/packages/group_details.html
+++ b/templates/packages/packages_list.html
@@ -1,10 +1,10 @@
{% extends "base.html" %}
-{% block title %}Arch Linux - {{ groupname }} - {{ arch.name }} - Group Details{% endblock %}
+{% block title %}Arch Linux - {{ name }} ({{ arch.name }}) - {{ list_title }}{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div class="box">
- <h2>Details for group {{ groupname }} - {{ arch.name }}</h2>
+ <h2>{{ list_title }} - {{ name }} ({{ arch.name }})</h2>
<table class="results">
<thead>
<tr>