summaryrefslogtreecommitdiff
path: root/templates/packages/details_requiredby.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/packages/details_requiredby.html')
-rw-r--r--templates/packages/details_requiredby.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/packages/details_requiredby.html b/templates/packages/details_requiredby.html
new file mode 100644
index 00000000..c7697289
--- /dev/null
+++ b/templates/packages/details_requiredby.html
@@ -0,0 +1,7 @@
+{% load package_extras %}
+<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.pkg.repo.staging %}<span class="staging-dep">(staging)</span>{% endif %}
+{% if req.optional %}<span class="opt-dep">(optional)</span>{% endif %}
+</li>