SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit c46cc390 authored by George Katsikas's avatar George Katsikas :goat:
Browse files

add country to ror results and info

parent 976c1003
No related branches found
No related tags found
No related merge requests found
{% 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">
......
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment