summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-12 10:08:29 -0600
committerDan McGee <dan@archlinux.org>2011-01-18 14:26:38 -0600
commit9cdc536fffc9e77903892c2b14e9462a6ec94ee5 (patch)
tree9dd56ad147f38867f63c24a3c79bc28e38fc5cd0 /templates/packages
parentecb24ab66a9d0a03ad021d23d4fa543f8163ef3e (diff)
Add arch-specific group overview pages
This is easy enough to refactor and support with our current infrastructure and group-fetching functions. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/group_details.html2
-rw-r--r--templates/packages/groups.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/packages/group_details.html b/templates/packages/group_details.html
index df9c5e96..9cfa7b73 100644
--- a/templates/packages/group_details.html
+++ b/templates/packages/group_details.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% block title %}Arch Linux - {{ groupname }} - Group Details{% endblock %}
+{% block title %}Arch Linux - {{ groupname }} - {{ arch.name }} - Group Details{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
diff --git a/templates/packages/groups.html b/templates/packages/groups.html
index 8a96b7e3..87316a34 100644
--- a/templates/packages/groups.html
+++ b/templates/packages/groups.html
@@ -1,10 +1,10 @@
{% extends "base.html" %}
-{% block title %}Arch Linux - Package Groups{% endblock %}
+{% block title %}Arch Linux - Package Groups{% if arch %} - {{ arch }}{% endif %}{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
{% block content %}
<div class="box">
- <h2>Package Groups Overview</h2>
+ <h2>Package Groups Overview{% if arch %} - {{ arch }}{% endif %}</h2>
<table class="results">
<thead>
<tr>