Move the additional group URLs to info box

- Legacy-Id: 7807
This commit is contained in:
Ole Laursen 2014-05-31 14:14:47 +00:00
parent 63dabff779
commit 8aede5ebcd

View file

@ -50,6 +50,19 @@ is occasionally incorrect.</span>
</tr>
{% endif %}
{% with group.groupurl_set.all as urls %}
{% if urls %}
<tr>
<td>More info:</td>
<td>
{% for url in urls %}
<a href="{{ url.url }}">{{ url.name }}</a>{% if not forloop.last %}<br>{% endif %}
{% endfor %}
</td>
</tr>
{% endif %}
{% endwith %}
<tr><th colspan="2">Personnel</th></tr>
{% for slug, label, roles in group.personnel %}
@ -89,16 +102,6 @@ is occasionally incorrect.</span>
</div>
{% with group.groupurl_set.all as urls %}
{% if urls %}
<p>In addition to the charter, there is additional information about this group on the Web at:
{% for url in urls %}
<a href="{{ url.url }}">{{ url.name }}</a>{% if not forloop.last %}, {% endif %}
{% endfor %}
</p>
{% endif %}
{% endwith %}
{% if group.features.has_chartering_process %}
<h2>Charter for {% if group.state_id == "proposed" %}Proposed{% endif %} {{ group.type.desc.title }}</h2>