Skip to content
Permalink
Browse files

Remove extra newline after the end span tag and before the li tag

Closes: #112
  • Loading branch information...
nehoffman authored and jelly committed Jul 18, 2018
1 parent c96b2b1 commit 196b1fd8950abe9137e1583f172090b888d487ef
Showing with 10 additions and 11 deletions.
  1. +9 −10 templates/packages/details_depend.html
  2. +1 −1 templates/packages/details_link.html
@@ -1,13 +1,12 @@
{% load details_link %}<li>{% if depend.pkg == None %}
{% if depend.providers %}{{ depend.dep.name }}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }} <span class="virtual-dep">({% for pkg in depend.providers %}{% details_link pkg %}{% if not forloop.last %}, {% endif %}{% endfor %})</span>
{% else %}{{ depend.dep.name }}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }} <span class="virtual-dep">(virtual)</span>
{% endif %}{% else %}
{% else %}{{ depend.dep.name }}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }} <span class="virtual-dep">(virtual)</span>{% endif %}
{% else %}
{% 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>
{% endif %}{% endif %}
{% 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>
{% if depend.pkg.repo.testing %} <span class="testing-dep"> (testing)</span>{% endif %}
{% if depend.pkg.repo.staging %} <span class="staging-dep"> (staging)</span>{% endif %}
{% endif %}
{% 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>
@@ -1 +1 @@
<a href="{{ pkg.get_absolute_url }}" title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a>
<a href="{{ pkg.get_absolute_url }}" title="View package details for {{ pkg.pkgname }}">{{ pkg.pkgname }}</a>

0 comments on commit 196b1fd

Please sign in to comment.
You can’t perform that action at this time.