summaryrefslogtreecommitdiffstats
path: root/templates/packages/details_depend.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-02-09 00:06:21 +0100
committerDan McGee <dan@archlinux.org>2012-02-19 02:17:56 +0100
commit77f38be3625395a5502cab7403c8e010171ce3f8 (patch)
tree3abe90341930bf646b423b4ad95532bf47bca173 /templates/packages/details_depend.html
parent03a0d27971898592698dbb0c5948b93c6a3a4741 (diff)
downloadarchweb-77f38be3625395a5502cab7403c8e010171ce3f8.tar.gz
archweb-77f38be3625395a5502cab7403c8e010171ce3f8.tar.xz
Factor out requiredby details into a template
This is similar to the previous commit doing the same for depends. We also add a '(staging)' text for use down the road. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details_depend.html')
-rw-r--r--templates/packages/details_depend.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html
index 0226dd2..8b6e85c 100644
--- a/templates/packages/details_depend.html
+++ b/templates/packages/details_depend.html
@@ -9,6 +9,7 @@
{% else %}
{% pkg_details_link depend.pkg %}{{ depend.dep.depvcmp|default:"" }}
{% 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.description %}- <span class="dep-desc">{{ depend.dep.description }}</span>{% endif %}