From 67c496a6d266f654558a30cf2fe8687a2b9dfd1c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 23 Sep 2021 00:54:13 +0200 Subject: [PATCH] fsd --- files/classes/submission.py | 1 + files/routes/front.py | 13 +++++++------ files/templates/comments.html | 5 ++++- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/files/classes/submission.py b/files/classes/submission.py index 8b50b73c26..31e31589a7 100644 --- a/files/classes/submission.py +++ b/files/classes/submission.py @@ -224,6 +224,7 @@ class Submission(Base): sort=sort, linked_comment=comment, comment_info=comment_info, + render_replies=True ) @property diff --git a/files/routes/front.py b/files/routes/front.py index c115c502f4..83e2db895e 100644 --- a/files/routes/front.py +++ b/files/routes/front.py @@ -99,12 +99,13 @@ def notifications(v): return render_template("notifications.html", - v=v, - notifications=listing, - next_exists=next_exists, - page=page, - standalone=True, - is_notification_page=True) + v=v, + notifications=listing, + next_exists=next_exists, + page=page, + standalone=True, + render_replies=True + ) diff --git a/files/templates/comments.html b/files/templates/comments.html index e7ae0189d5..ecea2efbba 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -64,7 +64,7 @@ - + {% if render_replies %} {% if level<7 %}
{% set standalone=False %} @@ -83,6 +83,7 @@ More comments
{% endif %} + {% endif %} @@ -415,6 +416,7 @@ + {% if render_replies %} {% if level<7 %}
{% for reply in replies %} @@ -431,6 +433,7 @@ More comments
{% endif %} + {% endif %}