unstomp on is_notification_page

This commit is contained in:
justcool393 2023-04-13 22:17:02 -05:00
parent b04849e5b7
commit 7515a21969

View file

@ -9,8 +9,8 @@
{%- set ups = c.upvotes_str(render_ctx) -%}
{%- set score = c.score_str(render_ctx) -%}
{%- set downs = c.downvotes_str(render_ctx) -%}
{% set replies = c.replies(v) %}
{%- set is_notification_page = request.path.startswith('/notifications') -%}
{% if not c.visibility_state(v)[0] %}
{% if c.show_descendants(v) %}
@ -143,7 +143,8 @@
</div>
{% endif %}
{% if is_notification_page and c.level == 1 and c.sentto and not c.parent_submission and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
{% if is_notification_page and c.level == 1 and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %}
<a class="btn btn-primary mt-2" role="button" onclick="openReplyBox('reply-message-{{c.id}}')">Reply</a>
{%- include 'component/comment/replybox_message.html' -%}
{% endif %}
{% else %}