fix
This commit is contained in:
parent
c30f958800
commit
1405549e08
1 changed files with 20 additions and 16 deletions
|
@ -639,6 +639,26 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
<!-- Sidebar -->
|
||||||
|
{% block sidebar %}
|
||||||
|
{% include "/sidebars/SubmissionSidebar.html" %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block modals %}
|
||||||
|
{% if v and v.id==p.author_id %}
|
||||||
|
{% include "delete_post_modal.html" %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if v %}
|
||||||
|
{% include "report_post_modal.html" %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
|
{% block scripts %}
|
||||||
<script>
|
<script>
|
||||||
(() => {
|
(() => {
|
||||||
const date = new Date({{p.created_utc*1000}});
|
const date = new Date({{p.created_utc*1000}});
|
||||||
|
@ -669,20 +689,4 @@
|
||||||
{%endif%}
|
{%endif%}
|
||||||
})()
|
})()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{% if v and v.id==p.author_id %}
|
|
||||||
{% include "delete_post_modal.html" %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if v %}
|
|
||||||
{% include "report_post_modal.html" %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
<!-- Sidebar -->
|
|
||||||
{% block sidebar %}
|
|
||||||
{% include "/sidebars/SubmissionSidebar.html" %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue