forked from MarseyWorld/MarseyWorld
switch the position of "reply" and "mute"
parent
2d0879ec3e
commit
03cd4246ff
|
@ -561,12 +561,13 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if request.path.startswith('/notifications') and c.level == 1 and c.sentto and not c.parent_submission and c.author_id != AUTOJANNY_ID %}
|
{% 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) %}
|
{% 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 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 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 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 %}
|
{% 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="reply-message-{{c.id}}" class="d-none">
|
||||||
<div id="comment-form-space-{{c.id}}" class="comment-write collapsed child">
|
<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">
|
<form id="reply-to-message-{{c.id}}" action="/reply" method="post" class="input-group" enctype="multipart/form-data">
|
||||||
|
|
Loading…
Reference in New Issue