diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-12 23:53:20 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-12 23:53:20 +0100 |
| commit | bbc89bb2c2a6b74fb36c04659dfe45e75351c58c (patch) | |
| tree | 80edc02f2265129988e760ca5e13ebbf40c76873 /app/templates | |
| parent | ab58570a0c1973e1467101222a6ec6804c4fe1a1 (diff) | |
| download | cheatdb-bbc89bb2c2a6b74fb36c04659dfe45e75351c58c.tar.xz | |
Fix misattribution of review due to missing reply ordering
Diffstat (limited to 'app/templates')
| -rw-r--r-- | app/templates/macros/reviews.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/templates/macros/reviews.html b/app/templates/macros/reviews.html index 42ae614..6ba176c 100644 --- a/app/templates/macros/reviews.html +++ b/app/templates/macros/reviews.html @@ -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> |
