collapse modmail in the main notif page too

master
Aevann 2023-03-06 22:33:29 +02:00
parent a76729cda5
commit 4ba8433175
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@
{% if render_replies %} {% if render_replies %}
<div id="replies-of-{{c.fullname}}"> <div id="replies-of-{{c.fullname}}">
{% if request.path.startswith('/notifications/') and replies|length > 8 %} {% if request.path.startswith('/notifications') and replies|length > 8 %}
{% for reply in replies %} {% for reply in replies %}
{{single_comment(reply, level=level+1, collapse=(not reply.unread and loop.index != replies|length))}} {{single_comment(reply, level=level+1, collapse=(not reply.unread and loop.index != replies|length))}}
{% endfor %} {% endfor %}