summaryrefslogtreecommitdiff
path: root/templates/packages/details_depend.html
blob: a26d67bd6cba34cdd86dd042f5ba80f816ea00a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{% load package_extras %}
<li>
{% ifequal depend.pkg None %}
{% if depend.providers %}
{{ depend.dep.name }}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|default:"" }} <span class="virtual-dep">({% multi_pkg_details depend.providers %})</span>
{% else %}
{{ depend.dep.name }}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|default:"" }} <span class="virtual-dep">(virtual)</span>
{% endif %}
{% else %}
{% pkg_details_link depend.pkg %}{{ depend.dep.comparison|default:"" }}{{ depend.dep.version|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.deptype == 'O' %} <span class="opt-dep">(optional)</span>{% endif %}
{% if depend.dep.deptype == 'M' %} <span class="make-dep">(make)</span>{% endif %}
{% if depend.dep.deptype == 'C' %} <span class="check-dep">(check)</span>{% endif %}
{% if depend.dep.description %}- <span class="dep-desc">{{ depend.dep.description }}</span>{% endif %}
</li>