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): ...@@ -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>Author(s): </td><td>&nbsp;</td><td>' + self.author_list + '</td></tr>'
header += '<tr><td>As Contributors: </td><td>&nbsp;</td>' header += '<tr><td>As Contributors: </td><td>&nbsp;</td>'
if self.authors.all(): if self.authors.all():
header += '<td>'
for auth in self.authors.all(): 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: else:
header += '<td>(none claimed)</td>' header += '<td>(none claimed)</td>'
header += '</tr>' header += '</tr>'
......
...@@ -32,11 +32,7 @@ ...@@ -32,11 +32,7 @@
<div class="flex-greybox"> <div class="flex-greybox">
<h1>Contributor info</h1> <h1>Contributor info</h1>
</div> </div>
<div class="row"> {{ contributor.public_info_as_table|safe }}
<div class="col-6">
{{ contributor.public_info_as_table|safe }}
</div>
</div>
</section> </section>
{% if contributor_submissions %} {% 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