SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit e2d39f88 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Fix contributors not shown on thesis

parent f4a8ae0e
No related branches found
No related tags found
No related merge requests found
{% load theses_extras %}
<table>
<table class="mb-3">
<tr>
<td>Title: </td><td>&nbsp;</td><td>{{ thesislink.title }}</td>
</tr>
......@@ -9,15 +9,13 @@
</tr>
<tr>
<td>As Contributor: </td><td>&nbsp;</td>
{% if thesislink.author_as_cont.all %}
<td>
{% for author in thesislink.author_as_cont.all %}
<td><a href= {% url 'scipost:contributor_info' author.id %}>
{{ author.user.first_name }} {{ author.user.last_name }}
</a></td>
{% if not forloop.first %} &middot; {% endif %}<a href= {% url 'scipost:contributor_info' author.id %}>{{ author.user.first_name }} {{ author.user.last_name }}</a>
{% empty %}
(not claimed)
{% endfor %}
{% else %}
<td>(not claimed)</td>
{% endif %}
</td>
</tr>
<tr>
<td>Type: </td><td></td><td> {{ thesislink|type }}</td>
......
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