Compare commits

...

2 Commits

Author SHA1 Message Date
Lukáš Kucharczyk e2b7ff2e15
Remove cruft
Django CI/CD / test (push) Successful in 53s Details
Django CI/CD / build-and-push (push) Successful in 1m30s Details
2024-01-15 19:17:27 +01:00
Lukáš Kucharczyk b94aa49fc3
Fix title not being displayed on the Recent sessions page 2024-01-15 19:17:24 +01:00
3 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,9 @@
## Improved ## Improved
* mark refunded purchases red on game overview * mark refunded purchases red on game overview
## Fixed
* Fix title not being displayed on the Recent sessions page
## 1.5.2 / 2024-01-14 21:27+01:00 ## 1.5.2 / 2024-01-14 21:27+01:00
## Improved ## Improved

View File

@ -83,7 +83,6 @@
class="flex bg-green-600 rounded-full px-2 w-7 h-4 text-white justify-center items-center" class="flex bg-green-600 rounded-full px-2 w-7 h-4 text-white justify-center items-center"
href="{{ end_session_url }}" href="{{ end_session_url }}"
hx-get="{{ end_session_url }}" hx-get="{{ end_session_url }}"
hx-vals='{"partial":"view_game.html#session-info"}'
hx-target="closest li" hx-target="closest li"
hx-swap="outerHTML" hx-swap="outerHTML"
hx-indicator="#indicator" hx-indicator="#indicator"

View File

@ -311,6 +311,7 @@ def list_sessions(
dataset = all_sessions dataset = all_sessions
context = { context = {
**context,
"dataset": dataset, "dataset": dataset,
"dataset_count": dataset.count(), "dataset_count": dataset.count(),
"last": Session.objects.prefetch_related("purchase__platform").latest(), "last": Session.objects.prefetch_related("purchase__platform").latest(),