From 477f5bce3e1cd50cabc02add19e194b7708c5276 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org> Date: Fri, 13 Oct 2023 14:53:33 +0200 Subject: [PATCH] Debug display of Fellow status in Fellowhip list --- .../colleges/templates/colleges/fellowship_list.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scipost_django/colleges/templates/colleges/fellowship_list.html b/scipost_django/colleges/templates/colleges/fellowship_list.html index 2ae02a48b..8252adf03 100644 --- a/scipost_django/colleges/templates/colleges/fellowship_list.html +++ b/scipost_django/colleges/templates/colleges/fellowship_list.html @@ -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 %} -- GitLab