mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 18:33:53 +00:00
feat: sort by country on organisation list
This commit is contained in:
5 files changed
+95
-5
No files matched your search
@@ -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