{% comment %} Display a table of scrobbles from a QuerySet. Expects: * scrobble_list - QuerySet of Scrobble objects. * page_obj - Optional, a DiggPaginator instance of False (default). * request - Optional, required if page_obj is used. The request object. {% endcomment %} {% if scrobble_list|length > 0 %} {% if page_obj|default:False and page_obj.number > 1 %} {% include 'ditto/includes/pagination.html' with request=request page_obj=page_obj only %} {% endif %} {% load ditto_core %} {% for scrobble in scrobble_list %} {% endfor %}
Track Time
{{ scrobble.artist.name }} {{ scrobble.track.name }} {% display_time scrobble.post_time link_to_day=True %}
{% if page_obj|default:False %} {% include 'ditto/includes/pagination.html' with request=request page_obj=page_obj only %} {% endif %} {% else %}

There are no listens to show.

{% endif %}