summaryrefslogtreecommitdiffstats
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
parentf61e61c8a6fc0753359963a836bf65a3a8b1981e (diff)
downloadarchweb-4613f862d76b6ab5de7dc98021fa37341945a2c2.tar.gz
archweb-4613f862d76b6ab5de7dc98021fa37341945a2c2.zip
Add support to templates for make/check depends
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--sitestatic/archweb.css2
-rw-r--r--templates/packages/details_depend.html2
-rw-r--r--templates/packages/details_requiredby.html2
3 files changed, 6 insertions, 0 deletions
diff --git a/sitestatic/archweb.css b/sitestatic/archweb.css
index 91cacd7b..70caf8fc 100644
--- a/sitestatic/archweb.css
+++ b/sitestatic/archweb.css
@@ -799,6 +799,8 @@ form#flag-pkg-form input[type=text] {
#pkgdetails #metadata .testing-dep,
#pkgdetails #metadata .staging-dep,
#pkgdetails #metadata .opt-dep,
+#pkgdetails #metadata .make-dep,
+#pkgdetails #metadata .check-dep,
#pkgdetails #metadata .dep-desc {
font-style: italic;
}
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>