summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-23 12:47:26 -0500
committerDan McGee <dan@archlinux.org>2011-03-23 12:47:26 -0500
commita52ddb5c48dd2cb7856779f64611679aca7d660d (patch)
tree608533bb062a6cd2e2d59b736afc3804063551af /templates/packages
parentf46e5b1a94c845ea2125b4f9d6777dff56c9ad29 (diff)
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/packages')
-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 051726bd..4253f0b3 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 %}