remove old "remove post" button

This commit is contained in:
maaa 2023-07-11 23:00:57 +02:00
parent 8222502610
commit 36391c30b8
1 changed files with 0 additions and 6 deletions

View File

@ -41,12 +41,6 @@
<p><a href='/@{{ getUser(post["creator"])["username"] }}' class="username usernamelink">{{ getUser(post["creator"])["username"] }}</a></p> <p><a href='/@{{ getUser(post["creator"])["username"] }}' class="username usernamelink">{{ getUser(post["creator"])["username"] }}</a></p>
<p class="date" id='timestamp_{{post["id"]}}'> </p> <p class="date" id='timestamp_{{post["id"]}}'> </p>
{% if userdata %} {% if userdata %}
{% if userdata.administrator == 1 %}
<a class="date" href='/remove/{{post["id"]}}'>Remove post</a>
<br><br>
{% endif %}
{% endif %}
{% if userdata %}
<p class="hidden" id="usernameElement">{{ userdata.username }}</p> <p class="hidden" id="usernameElement">{{ userdata.username }}</p>
{% endif %} {% endif %}
<img loading="lazy" src='{{ post["imageurl"] }}'> <img loading="lazy" src='{{ post["imageurl"] }}'>