diff options
author | Dan McGee <dan@archlinux.org> | 2012-08-04 22:14:53 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-04 22:14:53 +0200 |
commit | 4613f862d76b6ab5de7dc98021fa37341945a2c2 (patch) | |
tree | 8b2da95c6ac3be4bac254535ba4c514a8b4e5bc5 /templates/packages | |
parent | f61e61c8a6fc0753359963a836bf65a3a8b1981e (diff) | |
download | archweb-4613f862d76b6ab5de7dc98021fa37341945a2c2.tar.gz archweb-4613f862d76b6ab5de7dc98021fa37341945a2c2.tar.xz |
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.html | 2 | ||||
-rw-r--r-- | templates/packages/details_requiredby.html | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html index 1eb3547..a26d67b 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 15c62c6..24f8bbb 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> |