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> <dt>Herds</dt>
<dd> <dd>
{% for herd in package.herds.all %} {% for herd in package.herds.all %}
<p>
<a href="{% url "herd" herd.herd %}"> <a href="{% url "herd" herd.herd %}">
{{ herd.herd }} {{ herd.herd }}
</a> </a>
&lt;{{ herd.email }}&gt; &lt;{{ herd.email }}&gt;
</p>
{% endfor %} {% endfor %}
</dd> </dd>
{% endif %} {% endif %}
@ -29,6 +31,7 @@
<dt>Maintainers</dt> <dt>Maintainers</dt>
<dd> <dd>
{% for maintainer in package.maintainers.all %} {% for maintainer in package.maintainers.all %}
<p>
{% if maintainer.name != maintainer.email %} {% if maintainer.name != maintainer.email %}
<a href="{% url "maintainer" maintainer.id %}"> <a href="{% url "maintainer" maintainer.id %}">
{{ maintainer.name }} {{ maintainer.name }}
@ -39,6 +42,7 @@
{{ maintainer.email }} {{ maintainer.email }}
</a> </a>
{% endif %} {% endif %}
</p>
{% endfor %} {% endfor %}
</dd> </dd>
{% endif %} {% endif %}