show full chain

pull/223/head
Aevann 2024-02-18 17:52:51 +02:00
parent ae7e51dc8f
commit f305077dbe
1 changed files with 6 additions and 1 deletions

View File

@ -450,9 +450,14 @@ def notification(v, cid):
gevent.spawn(_mark_comment_as_read, comment.id, v.id)
if comment.level > 1:
shown_comment = comment.top_comment
else:
shown_comment = comment
return render_template("notifications.html",
v=v,
notifications=[comment],
notifications=[shown_comment],
total=1,
page=1,
standalone=True,