{% load humanize %} {% load fr_display %} {% if shelf.books %}
Cover | Title | Author | Published | Shelved | Started | Finished | External links | {% if ratings %}Rating | {% endif %}
---|---|---|---|---|---|---|---|---|
{% include 'snippets/book_cover.html' with book=book size="small" %} | {{ book.title }} | {{ book.authors.first.display_name }} | {% if book.first_published_date %}{{ book.first_published_date }}{% endif %} | {{ book.created_date | naturalday }} | {% latest_read_through book user as read_through %}{{ read_through.start_date | naturalday |default_if_none:""}} | {{ read_through.finish_date | naturalday |default_if_none:""}} | OpenLibrary | {% if ratings %}{% include 'snippets/stars.html' with rating=ratings|dict_key:book.id %} | {% endif %}
This shelf is empty.
{% endif %}