forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-09-23 00:54:13 +02:00
parent 65263b11a0
commit 67c496a6d2
3 changed files with 12 additions and 7 deletions

View File

@ -224,6 +224,7 @@ class Submission(Base):
sort=sort,
linked_comment=comment,
comment_info=comment_info,
render_replies=True
)
@property

View File

@ -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
)

View File

@ -64,7 +64,7 @@
</div>
{% if render_replies %}
{% if level<7 %}
<div id="replies-of-{{c.id}}" class="">
{% set standalone=False %}
@ -83,6 +83,7 @@
<a {% if v %}href="{{c.permalink}}?context=5#context"{% else %}href="/logged_out{{c.permalink}}?context=5#context"{% endif %}>More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div>
{% endif %}
{% endif %}
</div>
</div>
@ -415,6 +416,7 @@
</div>
{% if render_replies %}
{% if level<7 %}
<div id="replies-of-{{c.id}}">
{% for reply in replies %}
@ -431,6 +433,7 @@
<a {% if v %}href="{{c.permalink}}#context"{% else %}href="/logged_out{{c.permalink}}#context"{% endif %}>More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div>
{% endif %}
{% endif %}
</div>