summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-04-18 08:56:18 +0200
committereliott <eliott@cactuswax.net>2008-04-18 08:56:18 +0200
commit532edf85eb036631d7d007a4a2db7728edf12bb7 (patch)
tree70b5a4864f30f68e6f4979b66ffa6a716598874c /templates
parent42c88bd1b945e9eae6ec584d9f17b92dbde2eb8f (diff)
downloadarchweb-532edf85eb036631d7d007a4a2db7728edf12bb7.tar.gz
archweb-532edf85eb036631d7d007a4a2db7728edf12bb7.tar.xz
Modified get_depends handling slightly
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 2b63885..4a1f1e4 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -55,11 +55,11 @@
<div class="listing">
<h4>Dependencies:</h4>
<ul style="font-size:small;list-style:none">
- {% for dep in pkg.get_depends %}
- {% ifequal dep.0 None %}
- <li>{{ dep.1 }}</li>
+ {% for depend in pkg.get_depends %}
+ {% ifequal depend.pkg None %}
+ <li>{{ depend.dep.depname }} (virtual)</li>
{% else %}
- <li><a href="/packages/{{ dep.0 }}/">{{ dep.1 }}</a>{{ dep.2 }}</li>
+ <li><a href="/packages/{{ depend.pkg.id }}/">{{ depend.dep.depname }}</a>{{ depend.dep.depvcmp }}</li>
{% endifequal %}
{% endfor %}
</ul>