List number of sessions when filtering on session list
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
078f87687f
commit
2defdd4657
|
@ -1,3 +1,7 @@
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
* List number of sessions when filtering on session list
|
||||||
|
|
||||||
## 0.2.0 / 2023-01-09 22:42+01:00
|
## 0.2.0 / 2023-01-09 22:42+01:00
|
||||||
|
|
||||||
* Show playtime total on session list (https://git.kucharczyk.xyz/lukas/timetracker/issues/6)
|
* Show playtime total on session list (https://git.kucharczyk.xyz/lukas/timetracker/issues/6)
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{% if purchase %}
|
{% if purchase %}
|
||||||
<div class="text-center text-xl mb-4 dark:text-slate-400">
|
<div class="text-center text-xl mb-4 dark:text-slate-400">
|
||||||
<h1>Listing sessions only for purchase "{{ purchase }}" (total playtime: {{ total_duration }})</h1>
|
<h1>Listing sessions only for purchase "{{ purchase }}"</h1>
|
||||||
|
<h2>Total playtime: {{ total_duration }} over {{ dataset.count }} sessions.</h2>
|
||||||
<a class="dark:text-white hover:underline" href="{% url 'list_sessions' %}">View all sessions</a>
|
<a class="dark:text-white hover:underline" href="{% url 'list_sessions' %}">View all sessions</a>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in New Issue