summaryrefslogtreecommitdiffstats
path: root/templates/packages/details_requiredby.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-01 03:27:43 +0200
committerDan McGee <dan@archlinux.org>2012-08-04 22:11:27 +0200
commita64bbbd4139d91cbbca10d804067cbd87a95872d (patch)
tree51f46c613f4eec820c9dacd432e7329e9721f3f9 /templates/packages/details_requiredby.html
parent566a9803dd4928fa2145ef14da2d59d2631eeb05 (diff)
downloadarchweb-a64bbbd4139d91cbbca10d804067cbd87a95872d.tar.gz
archweb-a64bbbd4139d91cbbca10d804067cbd87a95872d.tar.xz
Make adjustments for optional -> deptype conversion
Very little dealt directly with this field. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details_requiredby.html')
-rw-r--r--templates/packages/details_requiredby.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/packages/details_requiredby.html b/templates/packages/details_requiredby.html
index ecc92b2..15c62c6 100644
--- a/templates/packages/details_requiredby.html
+++ b/templates/packages/details_requiredby.html
@@ -3,5 +3,5 @@
{% if req.name != pkg.pkgname %}<span class="virtual-dep">(requires {{ req.name }})</span>{% endif %}
{% if req.pkg.repo.testing %}<span class="testing-dep">(testing)</span>{% endif %}
{% if req.pkg.repo.staging %}<span class="staging-dep">(staging)</span>{% endif %}
-{% if req.optional %}<span class="opt-dep">(optional)</span>{% endif %}
+{% if req.deptype == 'O' %}<span class="opt-dep">(optional)</span>{% endif %}
</li>