mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-22 12:00:41 +03:00
front end fix
This commit is contained in:
parent
80a83d0f14
commit
0ed4a34c8c
2 changed files with 1 additions and 2 deletions
|
@ -39,7 +39,6 @@ Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn
|
|||
| IPs of users will add SecretModel | ⚪ | MEDIUM |
|
||||
| Better Auth | ⚪ | MEDIUM |
|
||||
- Fix footer, theme, sonra
|
||||
- Version info to footer
|
||||
- upload other photos, model for it
|
||||
|
||||
## Major Version History
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<%= thread.title %>
|
||||
</div>
|
||||
<div class="box-username">
|
||||
<% if (user && !thread.deleted){ %>
|
||||
<% if (user?.admin && !thread.deleted){ %>
|
||||
<a class="btn-danger" onclick="fetch('/api/threads/<%= thread.id %>/',{method:'DELETE'})"><i class="bx bx-trash bx-sm"></i></a>
|
||||
<% } %>
|
||||
<%= thread.author.name %> <div class="avatar"><img src="<%=thread.author.avatar %>"> </div>
|
||||
|
|
Loading…
Reference in a new issue