{% extends 'base.html' %} {% load static %} {% block title %}{{ title }}{% endblock title %} {% block content %}
{% if chart %} {% endif %} {% if dataset.count >= 1 %}
Total playtime: {{ total_duration }} over {{ dataset.count }} sessions.
{% endif %} {% if purchase or platform or edition or game or ownership_type %} {% if purchase %} Filtering by purchase "{{ purchase }}" (Edit) {% elif platform %} Filtering by purchase "{{ platform }}" (Edit) {% elif game %} Filtering by purchase "{{ game }}" (Edit) {% elif edition %} Filtering by purchase "{{ edition }}" (Edit) {% elif ownership_type %} Filtering by ownership type "{{ ownership_type }}" {% endif%} {% if purchase %}See all platforms{% endif %} {% endif %} {% if dataset.count >= 1 %} {% endif %}
Purchase
Platform
Start
End
Duration
Manage
{% for data in dataset %}
{{ data.purchase.edition }} ({{ data.purchase.get_ownership_type_display }}) Filter by this game Filter by this edition Filter by this purchase
{% if data.purchase.platform != data.purchase.edition.platform %} {{data.purchase.edition.platform}} on {{ data.purchase.platform }} {% else %} {{ data.purchase.platform }} {% endif %}
{{ data.timestamp_start | date:"d/m/Y H:i" }}
{% if data.unfinished %} Not finished yet. {% elif data.duration_manual %} -- {% else %} {{ data.timestamp_end | date:"d/m/Y H:i" }} {% endif %}
{{ data.duration_formatted }}{% if data.duration_manual %} {% endif %}
{% if data.unfinished %} {% endif %} {% comment %} {% endcomment %}
{% endfor %}
{% endblock content %}