summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 18:47:26 +0100
committerDan McGee <dan@archlinux.org>2011-03-23 18:47:26 +0100
commita52ddb5c48dd2cb7856779f64611679aca7d660d (patch)
tree608533bb062a6cd2e2d59b736afc3804063551af /templates
parentf46e5b1a94c845ea2125b4f9d6777dff56c9ad29 (diff)
downloadarchweb-a52ddb5c48dd2cb7856779f64611679aca7d660d.tar.gz
archweb-a52ddb5c48dd2cb7856779f64611679aca7d660d.tar.xz
Allow virtual base packages to display in web interface
Repurpose the old group details page to show a listing of all packages built from a particular pkgbase value, even if this value is not an actual package. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 051726b..4253f0b 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -96,7 +96,8 @@
<td><a href="{{ pkg.base_package.get_absolute_url }}"
title="Package details for {{ pkg.base_package.pkgname }}">{{ pkg.pkgbase }}</a></td>
{% else %}
- <td>{{ pkg.pkgbase }}</td>
+ <td><a href="../{{ pkg.pkgbase }}/"
+ title="Split package details for {{ pkg.pkgbase }}">{{ pkg.pkgbase }}</a></td>
{% endif %}
</tr>
{% endifequal %}