forked from rDrama/rDrama
fix
parent
4dde747837
commit
05de50fb87
|
@ -483,7 +483,7 @@
|
||||||
|
|
||||||
{% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and not v.is_suspended %}
|
{% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and not v.is_suspended %}
|
||||||
<div class="py-2">
|
<div class="py-2">
|
||||||
{% include "/submission/SubmissionEditForm.html" %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -503,7 +503,7 @@
|
||||||
|
|
||||||
<!-- Post actions -->
|
<!-- Post actions -->
|
||||||
<div class="hidden md:block pt-4">
|
<div class="hidden md:block pt-4">
|
||||||
{% include "/submission/SubmissionActions.html" %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -550,7 +550,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="md:hidden px-2.5 mt-4">
|
<div class="md:hidden px-2.5 mt-4">
|
||||||
{% include "/submission/SubmissionActionsMobile.html" %}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -612,7 +612,7 @@
|
||||||
<div class="hidden md:block relative flex-shrink-0 mr-4 {{ 'santa' if p.author.patron else 'cap' }}">
|
<div class="hidden md:block relative flex-shrink-0 mr-4 {{ 'santa' if p.author.patron else 'cap' }}">
|
||||||
<img loading="lazy" src="{{v.profile_url}}" class="w-14 h-14 p-[3px] bg-white border border-gray-300 object-cover" alt="my avatar"/>
|
<img loading="lazy" src="{{v.profile_url}}" class="w-14 h-14 p-[3px] bg-white border border-gray-300 object-cover" alt="my avatar"/>
|
||||||
</div>
|
</div>
|
||||||
{% include "/comments/CommentForm.html" %}
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -635,7 +635,7 @@
|
||||||
{% if p.replies %}
|
{% if p.replies %}
|
||||||
<div class="comment-section px-2.5 md:px-0" id="comment-section">
|
<div class="comment-section px-2.5 md:px-0" id="comment-section">
|
||||||
{% with comments=p.replies %}
|
{% with comments=p.replies %}
|
||||||
{% include "comments.html" %}
|
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
</div>
|
</div>
|
||||||
{% elif not p.replies and p.deleted_utc == 0 %}
|
{% elif not p.replies and p.deleted_utc == 0 %}
|
||||||
|
@ -665,32 +665,27 @@
|
||||||
|
|
||||||
<!-- Sidebar -->
|
<!-- Sidebar -->
|
||||||
{% block sidebar %}
|
{% block sidebar %}
|
||||||
{% include "/sidebars/SubmissionSidebar.html" %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block modals %}
|
{% block modals %}
|
||||||
{% if v %}
|
{% if v %}
|
||||||
{% if v.id == p.author_id %}
|
{% if v.id == p.author_id %}
|
||||||
{% include "delete_post_modal.html" %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include "report_post_modal.html" %}
|
|
||||||
{% include "award_modal.html" %}
|
|
||||||
{% include "emoji_modal.html" %}
|
|
||||||
{% include "gif_modal.html" %}
|
|
||||||
|
|
||||||
{% if v.admin_level == 6 %}
|
{% if v.admin_level == 6 %}
|
||||||
{% include "ban_modal.html" %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% include "/modals/ModalSubmissionActions.html" %}
|
|
||||||
{% include "expanded_image_modal.html" %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<!-- This file contains minimal html and javascript required for awards, needs to be near </body> closing tag -->
|
<!-- This file contains minimal html and javascript required for awards, needs to be near </body> closing tag -->
|
||||||
{% include "/submission/SubmissionAwards.html" %}
|
|
||||||
|
|
||||||
{% if v %}
|
{% if v %}
|
||||||
<script defer src="/assets/js/vote.js?v=1"></script>
|
<script defer src="/assets/js/vote.js?v=1"></script>
|
||||||
|
|
Loading…
Reference in New Issue