попа
This commit is contained in:
@@ -15,9 +15,15 @@
|
||||
{% endif %}
|
||||
{% for book in books %}
|
||||
<article class="book">
|
||||
{% if account.permissions.books is defined and account.permissions.books == 1 %}
|
||||
<button onclick="return remove({{ book.id|e }}, this.parentElement);" title="Удалить"><i class="fa-solid fa-xmark"></i></button>
|
||||
{% endif %}
|
||||
<img src="/storage/books/{{ book.id|e }}/0" class="unselectable" alt='Обложка книги "{{ book.title|e }}"'>
|
||||
<h4><a href="/books/{{ book.id|e }}">{{ book.title|e }}</a></h3>
|
||||
</article>
|
||||
{% endfor %}
|
||||
{% if account.permissions.books is defined and account.permissions.books == 1 %}
|
||||
<script type="text/javascript" src="/js/delete.js"></script>
|
||||
{% endif %}
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user