From b57d91d37cbb5feb428cfec87c43605bd725a294 Mon Sep 17 00:00:00 2001 From: Burathar Date: Sun, 19 Jul 2020 00:14:39 +0200 Subject: [PATCH] remove players section from game_bunny_dashboard --- app/templates/game_bunny_dashboard.html | 38 ------------------------- 1 file changed, 38 deletions(-) diff --git a/app/templates/game_bunny_dashboard.html b/app/templates/game_bunny_dashboard.html index 89c7cf4..ef3a86b 100644 --- a/app/templates/game_bunny_dashboard.html +++ b/app/templates/game_bunny_dashboard.html @@ -9,45 +9,7 @@ {% block app_content %}

{{ game.name }} Dashboard

-

Players:

-

Add player

-
- - - - - - - - - - - - - - {% for player in game.players %} - - - {% for gameplayer in player.user_games if gameplayer.game == game %} - - {% endfor %} - - - - - - - {% endfor %} - -
Player NameRoleObjectives foundBunnies CaughtBeen CaughtLast location
{{ player.name }}{{ gameplayer.role.name }}{{ player.found_objectives | selectattr('game', '==', game)|list|length}}{{ player.caught_players | selectattr('game', '==', game)|list|length}}{{ player.caught_by_players | selectattr('game', '==', game)|list|length}}{% with location = player.last_location(game) %} - {% if location %}{{ moment(location.timestamp).fromNow()}}: {% endif %} - {{ location }} - {% endwith %} - -
-

Objectives:

-

Add new objective

{% if game.objectives %}