summaryrefslogtreecommitdiff
path: root/templates/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-08-04 15:14:53 -0500
committerDan McGee <dan@archlinux.org>2012-08-04 15:14:53 -0500
commit4613f862d76b6ab5de7dc98021fa37341945a2c2 (patch)
tree8b2da95c6ac3be4bac254535ba4c514a8b4e5bc5 /templates/packages
parentf61e61c8a6fc0753359963a836bf65a3a8b1981e (diff)
Add support to templates for make/check depends
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages')
-rw-r--r--templates/packages/details_depend.html2
-rw-r--r--templates/packages/details_requiredby.html2
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html
index 1eb35474..a26d67bd 100644
--- a/templates/packages/details_depend.html
+++ b/templates/packages/details_depend.html
@@ -12,5 +12,7 @@
{% 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>
diff --git a/templates/packages/details_requiredby.html b/templates/packages/details_requiredby.html
index 15c62c61..24f8bbb1 100644
--- a/templates/packages/details_requiredby.html
+++ b/templates/packages/details_requiredby.html
@@ -4,4 +4,6 @@
{% 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.deptype == 'O' %}<span class="opt-dep">(optional)</span>{% endif %}
+{% if req.deptype == 'M' %}<span class="make-dep">(make)</span>{% endif %}
+{% if req.deptype == 'C' %}<span class="check-dep">(check)</span>{% endif %}
</li>