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

Start playing

Last scrobbles

{% for scrobble in object.scrobble_set.all|dictsortreversed:"timestamp" %} {% endfor %}
Date Duration Authors
{{scrobble.timestamp}} {% if scrobble.in_progress %}Now playing{% else %}{{scrobble.playback_position|natural_duration}}{% endif %} {% for author in scrobble.book.authors.all %}{{author}}{% if not forloop.last %}, {% endif %}{% endfor %}
{% endblock %}