{% extends "base_list.html" %} {% load mathfilters %} {% load static %} {% load naturalduration %} {% block title %}{{object.title}}{% endblock %} {% block lists %}
{% if object.cover%}

{% endif %}
{% if object.summary %}

{{object.summary|safe|linebreaks|truncatewords:160}}


{% endif %}

{{object.scrobble_set.count}} scrobbles

Read {{object.scrobble_set.last.book_pages_read}} pages{% if object.scrobble_set.last.long_play_complete %} and completed{% else %}{% endif %}

{% if object.scrobble_set.last.long_play_complete == True %} Read again {% else %} Resume reading {% endif %}

Last scrobbles

{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %} {% endfor %}
Date Completed Pages read Authors
{{scrobble.timestamp}} {% if scrobble.long_play_complete == True %}Yes{% endif %} {% if scrobble.in_progress %}Now reading{% else %}{{scrobble.session_pages_read}}{% endif %} {% for author in scrobble.book.authors.all %}{{author}}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endblock %}