summaryrefslogtreecommitdiff
path: root/templates/packages/details_depend.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/details_depend.html')
-rw-r--r--templates/packages/details_depend.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html
index 0cf2c36a..1eb35474 100644
--- a/templates/packages/details_depend.html
+++ b/templates/packages/details_depend.html
@@ -11,6 +11,6 @@
{% if depend.pkg.repo.testing %} <span class="testing-dep">(testing)</span>{% endif %}
{% if depend.pkg.repo.staging %} <span class="staging-dep">(staging)</span>{% endif %}
{% endifequal %}
-{% if depend.dep.optional %} <span class="opt-dep">(optional)</span>{% endif %}
+{% if depend.dep.deptype == 'O' %} <span class="opt-dep">(optional)</span>{% endif %}
{% if depend.dep.description %}- <span class="dep-desc">{{ depend.dep.description }}</span>{% endif %}
</li>