diff options
author | Dan McGee <dan@archlinux.org> | 2012-08-05 01:49:11 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-08-05 01:49:11 +0200 |
commit | cdbbf81f49a9b82fcadcdb795de5d543cd0af916 (patch) | |
tree | 593233fb561a98c25433d7a830811bb1a056dd6a /templates | |
parent | d557d267c906f2844331cafb57a81dc5a43bb125 (diff) | |
download | archweb-cdbbf81f49a9b82fcadcdb795de5d543cd0af916.tar.gz archweb-cdbbf81f49a9b82fcadcdb795de5d543cd0af916.tar.xz |
Restore proper whitespace in depends/required by display
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/packages/details_depend.html | 12 | ||||
-rw-r--r-- | templates/packages/details_requiredby.html | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/templates/packages/details_depend.html b/templates/packages/details_depend.html index 420af93..4aa739c 100644 --- a/templates/packages/details_depend.html +++ b/templates/packages/details_depend.html @@ -4,11 +4,11 @@ {% 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> +{% 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> +{% 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>{% endspaceless %} diff --git a/templates/packages/details_requiredby.html b/templates/packages/details_requiredby.html index f498bd5..e8c713a 100644 --- a/templates/packages/details_requiredby.html +++ b/templates/packages/details_requiredby.html @@ -1,8 +1,8 @@ {% load package_extras %}{% spaceless %}<li>{% pkg_details_link req.pkg %} -{% if req.name != pkg.pkgname %}<span class="virtual-dep">(requires {{ req.name }})</span> -{% endif %}{% 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> +{% if req.name != pkg.pkgname %}<span class="virtual-dep"> (requires {{ req.name }})</span> +{% endif %}{% 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>{% endspaceless %} |