mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 19:37:06 +00:00
feat: sort by country on organisation list
This commit is contained in:
@@ -15,13 +15,11 @@
|
||||
href="{% url 'people:organisation.create' %}">New Organisation</a>
|
||||
|
||||
<table class="table table-borderless">
|
||||
{% regroup organisation_list.all by current_answers.hq_country as countries %}
|
||||
|
||||
<tbody>
|
||||
{% for country in countries %}
|
||||
<tr><th>{{ country.grouper.name|default:"Unknown" }}</th></tr>
|
||||
{% for country, organisations in orgs_by_country.items %}
|
||||
<tr><th>{{ country }}</th></tr>
|
||||
|
||||
{% for organisation in country.list %}
|
||||
{% for organisation in organisations %}
|
||||
<tr>
|
||||
<td>{{ organisation }}</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user