{% extends 'base.html' %} {% load static %} {% block title %}{{ title }}{% endblock title %} {% block content %}
{% if dataset.count >= 2 %} {% 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 %} Filtering by "{% firstof purchase platform game edition ownership_type %}" {% 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
{{ data.purchase.platform }}
{{ 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 %}
{% endfor %}
{% endblock content %}