fix
parent
2842b514ad
commit
c19a03752d
|
@ -448,7 +448,7 @@
|
|||
</div>
|
||||
|
||||
{% if render_replies %}
|
||||
{% if level<5 %}
|
||||
{% if level<8 %}
|
||||
<div id="replies-of-{{c.id}}">
|
||||
{% for reply in replies %}
|
||||
{{single_comment(reply, level=level+1)}}
|
||||
|
@ -472,9 +472,6 @@
|
|||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
{% include "/modals/ModalCommentActions.html" %}
|
||||
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
@ -487,41 +484,6 @@
|
|||
|
||||
{% endfor %}
|
||||
|
||||
{% if v %}
|
||||
{% include "gif_modal.html" %}
|
||||
{% include "emoji_modal.html" %}
|
||||
{% if v.admin_level > 1 %}
|
||||
{% include "ban_modal.html" %}
|
||||
{% endif %}
|
||||
|
||||
<div class="modal fade" id="deleteCommentModal" tabindex="-1" role="dialog" aria-labelledby="deleteCommentModalTitle" aria-hidden="true">
|
||||
<div class="modal-dialog modal-dialog-centered" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title">Delete comment?</h5>
|
||||
<button type="button" class="close" data-bs-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true"><i class="far fa-times"></i></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="modal-body text-center">
|
||||
|
||||
<div class="py-4">
|
||||
<i class="fad fa-trash-alt text-muted" style="font-size: 3.5rem;"></i>
|
||||
</div>
|
||||
|
||||
<p>Your comment will be removed everywhere on {{'SITE_NAME' | app_config}}. This action can be undone.</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-link text-muted" data-bs-dismiss="modal">Cancel</button>
|
||||
<button id="deleteCommentButton" class="btn btn-danger">Delete comment</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include "/modals/ModalReportComment.html" %}
|
||||
{% endif %}
|
||||
|
||||
<style>
|
||||
.mod:before {
|
||||
content: '(((';
|
||||
|
|
Loading…
Reference in New Issue