Fix misattribution of review due to missing reply ordering

This commit is contained in:
rubenwardy
2020-07-12 23:53:20 +01:00
parent ab58570a0c
commit bbc89bb2c2
2 changed files with 7 additions and 6 deletions

View File

@@ -19,14 +19,14 @@
<div class="col pr-0">
<div class="card">
<div class="card-header">
<a class="author {{ reply.author.rank.name }}"
href="{{ url_for('users.profile', username=reply.author.username) }}">
{{ reply.author.display_name }}
<a class="author {{ review.author.rank.name }}"
href="{{ url_for('users.profile', username=review.author.username) }}">
{{ review.author.display_name }}
</a>
<a name="reply-{{ reply.id }}" class="text-muted float-right"
href="{{ url_for('threads.view', id=review.thread.id) }}#reply-{{ reply.id }}">
{{ reply.created_at | datetime }}
{{ review.created_at | datetime }}
</a>
</div>