Use display name in session list
Django CI/CD / test (push) Successful in 52s Details
Django CI/CD / build-and-push (push) Successful in 1m52s Details

This commit is contained in:
Lukáš Kucharczyk 2024-04-29 19:21:05 +02:00
parent 86e25b84ab
commit 64edca9ffa
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
* increase session count on game overview when starting a new session * increase session count on game overview when starting a new session
* game overview: sort purchases also by date purchased (on top of date released) * game overview: sort purchases also by date purchased (on top of date released)
* stats: improve purchase name consistency * stats: improve purchase name consistency
* session list: use display name instead of sort name
## Fixed ## Fixed
* Fix title not being displayed on the Recent sessions page * Fix title not being displayed on the Recent sessions page

View File

@ -36,7 +36,7 @@
<td class="px-2 sm:px-4 md:px-6 md:py-2 purchase-name truncate max-w-20char md:max-w-40char"> <td class="px-2 sm:px-4 md:px-6 md:py-2 purchase-name truncate max-w-20char md:max-w-40char">
<a class="underline decoration-slate-500 sm:decoration-2" <a class="underline decoration-slate-500 sm:decoration-2"
href="{% url 'view_game' session.purchase.edition.game.id %}"> href="{% url 'view_game' session.purchase.edition.game.id %}">
{{ session.purchase.edition }} {{ session.purchase.edition.name }}
</a> </a>
</td> </td>
<td class="px-2 sm:px-4 md:px-6 md:py-2 font-mono hidden sm:table-cell"> <td class="px-2 sm:px-4 md:px-6 md:py-2 font-mono hidden sm:table-cell">