summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/packages/details_depend.html12
-rw-r--r--templates/packages/details_requiredby.html12
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 %}