From 5e6a5a40240360eafb9acbdf290354def1f43f4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Mon, 6 Nov 2023 12:05:39 +0100 Subject: [PATCH] simplify playtime range display --- CHANGELOG.md | 5 +++++ games/templates/view_game.html | 4 +--- games/views.py | 11 +++++++++-- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1070c9b..79c4159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## Unreleased + +### Improved +* game overview: simplify playtime range display + ## 1.3.0 / 2023-11-05 15:09+01:00 ### New diff --git a/games/templates/view_game.html b/games/templates/view_game.html index 8ba3f3c..2576503 100644 --- a/games/templates/view_game.html +++ b/games/templates/view_game.html @@ -15,9 +15,7 @@

{{ total_hours }} total {{ session_average }} avg - ({{ first_session.timestamp_start | date:"M Y"}} - — - {{ last_session.timestamp_start | date:"M Y"}})

+ ({{ playrange }})

Editions ({{ editions.count }})