Add box art to dashboard and add Game.box_art_base_url()

This commit is contained in:
Joakim Hellsén 2025-08-29 18:11:07 +02:00
commit b430ce7ae8
3 changed files with 75 additions and 27 deletions

View file

@ -337,6 +337,7 @@ def dashboard(request: HttpRequest) -> HttpResponse:
if game_id not in campaigns_by_org_game[org_id]["games"]:
campaigns_by_org_game[org_id]["games"][game_id] = {
"name": game_name,
"box_art": campaign.game.box_art_base_url,
"campaigns": [],
}