diff options
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r-- | templates/packages/details.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 2b638852..4a1f1e4a 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> |