summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/packages/details.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index ac997184..09b970cd 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -186,9 +186,10 @@
{% if rqdby %}
<ul>
{% for req in rqdby %}
- <li><a href="{{ req.get_absolute_url }}"
- title="View package details for {{ req.pkgname }}">{{ req.pkgname }}</a>
- {% if req.repo.testing %}<span class="testing-dep">(testing)</span>{% endif %}
+ <li><a href="{{ req.pkg.get_absolute_url }}"
+ title="View package details for {{ req.pkg.pkgname }}">{{ req.pkg.pkgname }}</a>
+ {% if req.pkg.repo.testing %}<span class="testing-dep">(testing)</span>{% endif %}
+ {% if req.optional %}<span class="opt-dep">(optional)</span>{% endif %}
</li>
{% endfor %}
</ul>