More game overview optimizations
All checks were successful
Django CI/CD / test (push) Successful in 1m15s
Django CI/CD / build-and-push (push) Successful in 1m37s

This commit is contained in:
2024-01-14 17:04:06 +01:00
parent 854e3cc54a
commit a765fd8d00
2 changed files with 4 additions and 2 deletions

View File

@ -57,7 +57,7 @@
</ul>
<h1 class="text-3xl mt-4 mb-1 flex gap-2 items-center">
Sessions
<span class="dark:text-slate-500">({{ sessions.count }})</span>
<span class="dark:text-slate-500">({{ session_count }})</span>
{% url 'start_game_session' game.id as add_session_link %}
{% include 'components/button.html' with title="Start new session" text="New" link=add_session_link %}
and Notes <span class="dark:text-slate-500">({{ sessions_with_notes_count }})</span>