real
This commit is contained in:
parent
31ade00b3e
commit
4328168834
|
@ -29,10 +29,12 @@
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<p class="username">{{ getUser(post["creator"])["username"] }}</p>
|
<p class="username">{{ getUser(post["creator"])["username"] }}</p>
|
||||||
<p class="date">{{ post["created"] }}</p>
|
<p class="date">{{ post["created"] }}</p>
|
||||||
|
{% if userdata %}
|
||||||
{% if userdata.administrator == 1 %}
|
{% if userdata.administrator == 1 %}
|
||||||
<a class="date" href='/remove/{{post["id"]}}'>Remove post</a>
|
<a class="date" href='/remove/{{post["id"]}}'>Remove post</a>
|
||||||
<br><br>
|
<br><br>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
<img loading="lazy" src='{{ post["imageurl"] }}'>
|
<img loading="lazy" src='{{ post["imageurl"] }}'>
|
||||||
<p class="text">{{ post["textstr"] }}</p>
|
<p class="text">{{ post["textstr"] }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue