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, sort=sort,
linked_comment=comment, linked_comment=comment,
comment_info=comment_info, comment_info=comment_info,
render_replies=True
) )
@property @property

View File

@ -99,12 +99,13 @@ def notifications(v):
return render_template("notifications.html", return render_template("notifications.html",
v=v, v=v,
notifications=listing, notifications=listing,
next_exists=next_exists, next_exists=next_exists,
page=page, page=page,
standalone=True, standalone=True,
is_notification_page=True) render_replies=True
)

View File

@ -64,7 +64,7 @@
</div> </div>
{% if render_replies %}
{% if level<7 %} {% if level<7 %}
<div id="replies-of-{{c.id}}" class=""> <div id="replies-of-{{c.id}}" class="">
{% set standalone=False %} {% 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> <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> </div>
{% endif %} {% endif %}
{% endif %}
</div> </div>
</div> </div>
@ -415,6 +416,7 @@
</div> </div>
{% if render_replies %}
{% if level<7 %} {% if level<7 %}
<div id="replies-of-{{c.id}}"> <div id="replies-of-{{c.id}}">
{% for reply in replies %} {% 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> <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> </div>
{% endif %} {% endif %}
{% endif %}
</div> </div>