{% 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

{% 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 Duration Authors
{{scrobble.timestamp}} {% if scrobble.long_play_complete == True %}Yes{% endif %} {% if scrobble.in_progress %}Now playing{% else %}{{scrobble.long_play_session_seconds|natural_duration}}{% endif %} {% for author in scrobble.book.authors.all %}{{author}}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endblock %}