diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-08-17 21:53:08 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-08-17 21:53:08 +0200 |
commit | 950123ab3aefd61c63e686201cdc2bd0a7a9cabc (patch) | |
tree | 2cb75317e043fc5c0825c2866efd134ada5093e7 | |
parent | 1047d6ee351680c33148246378bebaed35d0a501 (diff) | |
download | archweb-950123ab3aefd61c63e686201cdc2bd0a7a9cabc.tar.gz archweb-950123ab3aefd61c63e686201cdc2bd0a7a9cabc.zip |
packages: remove extranous space in Provides/Conflicts
Remove the extranous space in Provides / Conflicts by removing the
newline in details_link.html with spaceless
-rw-r--r-- | templates/packages/details_relatedto.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/packages/details_relatedto.html b/templates/packages/details_relatedto.html index 560a67f8..55e8ef13 100644 --- a/templates/packages/details_relatedto.html +++ b/templates/packages/details_relatedto.html @@ -1,3 +1,4 @@ -{% load details_link %}{% for related in all_related %}{% with best_satisfier=related.get_best_satisfier %} -<span class="related">{% if best_satisfier == None %}{{ related.name }}{% else %}{% details_link best_satisfier %}{% endif %}{{ related.comparison|default:'' }}{{ related.version|default:'' }}{% if not forloop.last %}, {% endif %}</span> +{% load details_link %} +{% for related in all_related %}{% with best_satisfier=related.get_best_satisfier %} +<span class="related">{% if best_satisfier == None %}{{ related.name }}{% else %}{% spaceless %}{% details_link best_satisfier %}{% endspaceless %}{% endif %}{{ related.comparison|default:'' }}{{ related.version|default:'' }}{% if not forloop.last %}, {% endif %}</span> {% endwith %}{% endfor %} |