Sort shelves by shelfbook updated date
This commit is contained in:
parent
670036f8a9
commit
885bb023a3
3 changed files with 8 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{% load humanize %}
|
||||
{% load bookwyrm_tags %}
|
||||
{% if shelf.books.all|length > 0 %}
|
||||
{% if books|length > 0 %}
|
||||
<table class="table is-striped is-fullwidth">
|
||||
|
||||
<tr class="book-preview">
|
||||
|
@ -34,7 +34,7 @@
|
|||
</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
{% for book in shelf.books.all %}
|
||||
{% for book in books %}
|
||||
<tr class="book-preview">
|
||||
<td>
|
||||
{% include 'snippets/book_cover.html' with book=book size="small" %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue