switch the position of "reply" and "mute"

remotes/1693176582716663532/tmp_refs/heads/watchparty
Aevann1 2022-10-24 22:39:48 +02:00
parent 2d0879ec3e
commit 03cd4246ff
1 changed files with 4 additions and 3 deletions

View File

@ -561,12 +561,13 @@
</div>
{% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %}
<a class="btn btn-primary" role="button" onclick="ToggleReplyBox('reply-message-{{c.id}}')">Reply</a>
{% if (v and v.admin_level >= PERMS['USER_BAN']) and (c.sentto == 2) %}
<a class="btn btn-primary mr-3 {% if c.author.is_muted %}d-none{% endif %}" role="button" id="mute-user-{{c.id}}" onclick="adminToggleMute({{c.author_id}}, 1, {{c.id}})">Mute</a>
<a class="btn btn-primary mr-3 {% if not c.author.is_muted %}d-none{% endif %}" role="button" id="unmute-user-{{c.id}}" onclick="adminToggleMute({{c.author_id}}, 0, {{c.id}})">Unmute</a>
<a class="btn btn-primary ml-3 {% if c.author.is_muted %}d-none{% endif %}" role="button" id="mute-user-{{c.id}}" onclick="adminToggleMute({{c.author_id}}, 1, {{c.id}})">Mute</a>
<a class="btn btn-primary ml-3 {% if not c.author.is_muted %}d-none{% endif %}" role="button" id="unmute-user-{{c.id}}" onclick="adminToggleMute({{c.author_id}}, 0, {{c.id}})">Unmute</a>
{% endif %}
<a class="btn btn-primary" role="button" onclick="ToggleReplyBox('reply-message-{{c.id}}')">Reply</a>
<div id="reply-message-{{c.id}}" class="d-none">
<div id="comment-form-space-{{c.id}}" class="comment-write collapsed child">
<form id="reply-to-message-{{c.id}}" action="/reply" method="post" class="input-group" enctype="multipart/form-data">