SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 477f5bce authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Debug display of Fellow status in Fellowhip list

parent 09b60f53
No related branches found
No related tags found
No related merge requests found
......@@ -115,7 +115,15 @@
{% for fellow in object_list %}
<tr>
<td><a href="{{ fellow.get_absolute_url }}">{{ fellow.contributor }}</a></td>
<td>{% if fellow.guest %}<span class="text-warning">Guest Fellow</span>{% else %}<span class="text-success">Regular Fellow</span>{% endif %}</td>
<td>
{% if fellow.guest %}
<span class="text-warning">Guest<br>Fellow</span>
{% elif fellow.senior %}
<span class="text-success">Senior<br>Fellow</span>
{% else %}
<span class="text-primary">Regular<br>Fellow
{% endif %}
</td>
<td>{{ fellow.contributor.profile.acad_field }}
<br/>
{% for specialty in fellow.contributor.profile.specialties.all %}
......
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