Show playtime total on session list
All checks were successful
continuous-integration/drone/push Build is passing

Fixes #6
Fixes #25
This commit is contained in:
2023-01-09 18:57:22 +01:00
parent 24f4459318
commit b77089f7ad
9 changed files with 104 additions and 58 deletions

View File

@ -5,7 +5,7 @@
{% block content %}
{% if purchase %}
<div class="text-center text-xl mb-4 dark:text-slate-400">
<h1>Listing sessions only for purchase "{{ purchase }}"</h1>
<h1>Listing sessions only for purchaseee "{{ purchase }}" (total playtime: {{ total_duration }})</h1>
<a class="dark:text-white hover:underline" href="{% url 'list_sessions' %}">View all sessions</a>
</div>
{% endif %}