Commit 196b1fd8 authored by nehoffman's avatar nehoffman Committed by Jelle van der Waa
Browse files

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

Closes: #112
parent c96b2b1b
{% load details_link %}<li>{% if depend.pkg == None %} {% 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> {% 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> {% else %}{{ depend.dep.name }}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }} <span class="virtual-dep">(virtual)</span>{% endif %}
{% endif %}{% else %} {% else %}
{% details_link depend.pkg %}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }} {% details_link depend.pkg %}{{ depend.dep.comparison|default:""}}{{ depend.dep.version|default:"" }}
{% if depend.pkg.repo.testing %} <span class="testing-dep"> (testing)</span> {% if depend.pkg.repo.testing %} <span class="testing-dep"> (testing)</span>{% endif %}
{% endif %}{% if depend.pkg.repo.staging %} <span class="staging-dep"> (staging)</span> {% if depend.pkg.repo.staging %} <span class="staging-dep"> (staging)</span>{% endif %}
{% endif %}{% endif %} {% endif %}
{% if depend.dep.deptype == 'O' %} <span class="opt-dep"> (optional)</span> {% if depend.dep.deptype == 'O' %} <span class="opt-dep"> (optional)</span>{% endif %}
{% endif %}{% if depend.dep.deptype == 'M' %} <span class="make-dep"> (make)</span> {% if depend.dep.deptype == 'M' %} <span class="make-dep"> (make)</span>{% endif %}
{% endif %}{% if depend.dep.deptype == 'C' %} <span class="check-dep"> (check)</span> {% if depend.dep.deptype == 'C' %} <span class="check-dep"> (check)</span>{% endif %}
{% endif %}{% if depend.dep.description %} - <span class="dep-desc">{{ depend.dep.description }}</span> {% if depend.dep.description %} - <span class="dep-desc">{{ depend.dep.description }}</span>{% endif %}</li>
{% endif %}</li>
<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>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment