mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
@@ -15,16 +15,16 @@
|
||||
href="{% url 'people:organisation.create' %}">New Organisation</a>
|
||||
|
||||
<table class="table table-borderless">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% regroup organisation_list.all by current_answers.hq_country as countries %}
|
||||
|
||||
<tbody>
|
||||
{% for organisation in organisation_list.all %}
|
||||
{% for country in countries %}
|
||||
<tr><th>{{ country.grouper.name|default:"Unknown" }}</th></tr>
|
||||
|
||||
{% for organisation in country.list %}
|
||||
<tr>
|
||||
<td>{{ organisation }}</td>
|
||||
{% comment %}
|
||||
<td>
|
||||
<a class="btn btn-sm btn-info"
|
||||
href="{% url 'people:organisation.detail' pk=organisation.pk %}">Details</a>
|
||||
@@ -42,12 +42,9 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
</td>
|
||||
{% endcomment %}
|
||||
</tr>
|
||||
|
||||
{% empty %}
|
||||
<tr>
|
||||
<td>No records</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user