euscanwww: Wrapping herds and maintainers in <p> to put them in newlines

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-09-22 15:45:07 +02:00 committed by Corentin Chary
parent 565c5823c1
commit ddd8be39f5

View File

@ -18,10 +18,12 @@
<dt>Herds</dt>
<dd>
{% for herd in package.herds.all %}
<a href="{% url "herd" herd.herd %}">
{{ herd.herd }}
</a>
&lt;{{ herd.email }}&gt;
<p>
<a href="{% url "herd" herd.herd %}">
{{ herd.herd }}
</a>
&lt;{{ herd.email }}&gt;
</p>
{% endfor %}
</dd>
{% endif %}
@ -29,16 +31,18 @@
<dt>Maintainers</dt>
<dd>
{% for maintainer in package.maintainers.all %}
{% if maintainer.name != maintainer.email %}
<a href="{% url "maintainer" maintainer.id %}">
{{ maintainer.name }}
</a>
&lt;{{ maintainer.email }}&gt;
{% else %}
<a href="{% url "maintainer" maintainer.id %}">
{{ maintainer.email }}
</a>
{% endif %}
<p>
{% if maintainer.name != maintainer.email %}
<a href="{% url "maintainer" maintainer.id %}">
{{ maintainer.name }}
</a>
&lt;{{ maintainer.email }}&gt;
{% else %}
<a href="{% url "maintainer" maintainer.id %}">
{{ maintainer.email }}
</a>
{% endif %}
</p>
{% endfor %}
</dd>
{% endif %}