SciPost Code Repository

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

Small presentation improvements

parent 9b5e129c
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,10 @@ class Commentary(models.Model):
header += '<tr><td>Author(s): </td><td>&nbsp;</td><td>' + self.author_list + '</td></tr>'
header += '<tr><td>As Contributors: </td><td>&nbsp;</td>'
if self.authors.all():
header += '<td>'
for auth in self.authors.all():
header += '<td><a href="/contributor/' + str(auth.id) + '">' + auth.user.first_name + ' ' + auth.user.last_name + '</a></td>'
header += '<a href="/contributor/' + str(auth.id) + '">' + auth.user.first_name + ' ' + auth.user.last_name + '</a>'
header += '<td>'
else:
header += '<td>(none claimed)</td>'
header += '</tr>'
......
......@@ -32,11 +32,7 @@
<div class="flex-greybox">
<h1>Contributor info</h1>
</div>
<div class="row">
<div class="col-6">
{{ contributor.public_info_as_table|safe }}
</div>
</div>
{{ contributor.public_info_as_table|safe }}
</section>
{% if contributor_submissions %}
......
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