diff --git a/scipost_django/organizations/templates/organizations/_hx_ror_search_results.html b/scipost_django/organizations/templates/organizations/_hx_ror_search_results.html index 6664504f89215c3ea540640cc9a27cdcb6dcbd65..8c3f625f5964d5a976055d3e63e5913c9395ce6f 100644 --- a/scipost_django/organizations/templates/organizations/_hx_ror_search_results.html +++ b/scipost_django/organizations/templates/organizations/_hx_ror_search_results.html @@ -1,4 +1,4 @@ - +{% load static %} {% for item in results.items %} @@ -10,11 +10,18 @@ <div>{{ item.name }}</div> - <a class="ms-auto" - href="{{ item.ror_link }}" - target="_blank" - title="Visit page on ROR.org">{% include "bi/link.html" %}</a> - + <div class="ms-auto"> + <img class="me-2" + width="16" + height="11" + title="{{ item.country.name }}" + alt="{{ item.country.name }}" + src="{% static 'flags/'|add:item.country.country_code|lower|add:'.gif' %}" /> + + <a href="{{ item.ror_link }}" + target="_blank" + title="Visit page on ROR.org">{% include "bi/link.html" %}</a> + </div> </div> <div class="ps-4"> diff --git a/scipost_django/organizations/templates/organizations/_organization_ror_detail_contents.html b/scipost_django/organizations/templates/organizations/_organization_ror_detail_contents.html index 61f5eecda927083b6b710a094e1096ae03c877a1..bb06070ca79444da7f3f776cf0b6905213c53383 100644 --- a/scipost_django/organizations/templates/organizations/_organization_ror_detail_contents.html +++ b/scipost_django/organizations/templates/organizations/_organization_ror_detail_contents.html @@ -30,13 +30,12 @@ {% endif %} - - {% comment %} <tr> + <tr> <td>Country</td> <td>{{ ror.country.country_name }}</td> </tr> - <tr> + {% comment %} <tr> <td>Year established</td> <td>{{ ror.established }}</td> </tr> {% endcomment %}