{% extends "base_list.html" %} {% load form_tags %} {% load mathfilters %} {% load naturalduration %} {% load static %} {% block title %}{{object.name}}{% endblock %} {% block head_extra %} {% endblock %} {% block lists %}
{% if object.media_type == "SportEvent" %}
{% for team in object.media_obj.teams.all %}
{% endfor %}
{% endif %}
{% if object.media_type == "Task" and object.logdata.title %}
{{ request.scheme }}://{{ request.get_host }}{{ object.get_share_url }}
{% if object.share_view_count %}
{{ object.share_view_count }} view{{ object.share_view_count|pluralize }}
{% endif %}
Analytics
{% endif %}
Source: {{ object.source }}{% if object.log.mopidy_source %} ({{ object.log.mopidy_source|capfirst }}){% endif %}
{% endif %} {% if object.media_type == "Task" and object.log.weight %}{{ object.logdata.description }}
{% endif %} {% if object.media_type == "Trail" and object.gpx_file %}Tags: {% if object.tags.all %} {% for tag in object.tags.all %} {{ tag.name }} {% endfor %} {% else %} untagged {% endif %}
{% with notes_html=object.logdata.notes_as_html %} {% if notes_html %}Rate: {{object.logdata.avg_seconds_per_page}}s per page
{% endif %} {% if object.media_type == "BoardGame" and object.logdata.as_html %}{{ related_scrobbles.paginator.count }} scrobble{{ related_scrobbles.paginator.count|pluralize }} {% if object.is_long_play and long_play_total_seconds %} | Total time: {{ long_play_total_seconds|natural_duration }} {% if long_play_finished_date %} | Finished: {{ long_play_finished_date|date:"M d, Y" }}{% endif %} {% endif %}
| Date | Title | Time |
|---|---|---|
| {% if scrobble.id == object.id %}{{ scrobble.timestamp|date:"M d, Y" }}{% else %}{{ scrobble.timestamp|date:"M d, Y" }}{% endif %} | {% if scrobble.media_type == "Task" and scrobble.logdata.title %}{{ scrobble.media_obj.title }}: {{ scrobble.logdata.title }}{% else %}{{ scrobble.media_obj.title|default:scrobble.media_obj }}{% endif %} | {% if scrobble.is_long_play and scrobble.long_play_seconds %} {{ scrobble.playback_position_seconds|natural_duration }} ({{ scrobble.long_play_seconds|natural_duration }} total) {% elif scrobble.playback_position_seconds %} {{ scrobble.playback_position_seconds|natural_duration }} {% endif %} |
No other scrobbles of this media.
{% endif %}