Fix: No button for replying to PM's. (#673)

This commit is contained in:
Ben Rog-Wilhelm 2023-08-09 03:07:04 -05:00 committed by GitHub
parent 2adae47b19
commit ae85dcce99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,6 +119,10 @@
{%- include 'component/comment/replybox_comment.html' -%} {%- include 'component/comment/replybox_comment.html' -%}
{% if is_notification_page and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
{%- include 'component/comment/replybox_message.html' -%}
{% endif %}
{% if render_replies %} {% if render_replies %}
{% if level <= RENDER_DEPTH_LIMIT - 1 or is_notification_page %} {% if level <= RENDER_DEPTH_LIMIT - 1 or is_notification_page %}
<div id="replies-of-{{c.id}}"> <div id="replies-of-{{c.id}}">
@ -132,10 +136,6 @@
<a class="d-md-none" href="{{c.morecomments}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a> <a class="d-md-none" href="{{c.morecomments}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>
</div> </div>
{% endif %} {% endif %}
{% if is_notification_page and c.level == 1 and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
{%- include 'component/comment/replybox_message.html' -%}
{% endif %}
{% else %} {% else %}
<div id="replies-of-{{c.id}}"></div> <div id="replies-of-{{c.id}}"></div>
{% endif %} {% endif %}