summaryrefslogtreecommitdiffstats
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-08 21:10:13 +0200
committerDan McGee <dan@archlinux.org>2011-09-08 21:10:13 +0200
commit293e42fc55ca0ee8f67d5bdcb3d32fd0ec93786e (patch)
tree2d9364e0f48645f2b39c6c27827b2f5c6fbfba84 /templates/packages/details.html
parentf173a03857e92268412196cd8e7c0f5d27fb6a38 (diff)
downloadarchweb-293e42fc55ca0ee8f67d5bdcb3d32fd0ec93786e.tar.gz
archweb-293e42fc55ca0ee8f67d5bdcb3d32fd0ec93786e.tar.xz
List packages in required by list with depend provided by this package
Implements FS#25862. Most noticable on package like util-linux (util-linux-ng) and openjdk6 (java-runtime, java-environment). Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 8be408f..1016b43 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -203,6 +203,7 @@
<ul>
{% for req in rqdby %}
<li>{% pkg_details_link req.pkg %}
+ {% if req.depname != pkg.pkgname %}<span class="virtual-dep">(requires {{ req.depname }})</span>{% endif %}
{% if req.pkg.repo.testing %}<span class="testing-dep">(testing)</span>{% endif %}
{% if req.optional %}<span class="opt-dep">(optional)</span>{% endif %}
</li>