summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-28 15:03:55 -0500
committerDan McGee <dan@archlinux.org>2010-07-28 15:03:55 -0500
commit573357b79988837f6f2a8bc8d06887485b875c3c (patch)
tree0b5748a30be4363b3cfa4fa8ef9642541359c1ab
parent2461b12cef1665e6c84c96caf53ff8775092e530 (diff)
Use userpkgs tag on package details page
To link to a given person's maintained packages. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--templates/packages/details.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 9b096f55..93b9eb7e 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -2,6 +2,7 @@
{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package Details{% endblock %}
{% block navbarclass %}anb-packages{% endblock %}
+{% load package_extras %}
{% block content %}
<div id="pkgdetails" class="box">
@@ -96,7 +97,7 @@
{% with pkg.maintainers as maints %}
<td>{% if maints %}
{% for m in maints %}
- {{ m.get_full_name }}<br/>
+ {% userpkgs m %}<br/>
{% endfor %}
{% else %}Orphan{% endif %}
</td>
@@ -109,7 +110,7 @@
<td>{{ pkg.installed_size|filesizeformat }}</td>
</tr><tr>
<th>Last Packager:</th>
- <td>{% with pkg.packager as pkgr %}{% if pkgr %}{{ pkgr.get_full_name }}{% else %}{{ pkg.packager_str }}{% endif %}{% endwith %}</td>
+ <td>{% with pkg.packager as pkgr %}{% if pkgr %}{% userpkgs pkgr %}{% else %}{{ pkg.packager_str }}{% endif %}{% endwith %}</td>
</tr><tr>
<th>Build Date:</th>
<td>{{ pkg.build_date }} UTC</td>