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
parent 26fae25aec
commit 04be40e8e0

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