euscanwww: display multiple homepages correctly

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
This commit is contained in:
Corentin Chary 2011-04-19 11:33:28 +02:00
parent 3f9d2e5599
commit 9786444a46

View File

@ -15,7 +15,11 @@
{% endif %} {% endif %}
{% if package.homepage %} {% if package.homepage %}
<dt>Homepage</dt> <dt>Homepage</dt>
<dd><a href="{{ package.homepage }}">{{ package.homepage }}</a></dd> <dd>
{% for homepage in package.homepages %}
<a href="{{ homepage }}">{{ homepage }}<br />
{% endfor %}
</dd>
{% endif %} {% endif %}
{% if package.herds.all %} {% if package.herds.all %}
<dt>Herds</dt> <dt>Herds</dt>