diff --git a/api/templates/status.html b/api/templates/status.html index def2a0c..a4a0ddf 100644 --- a/api/templates/status.html +++ b/api/templates/status.html @@ -121,6 +121,25 @@ {% endif %} {% endif %} + + {% if status['previous_stash'] %} +

Predchádzajúca kôpka:

+ + {% for player in range(status['previous_stash']['first_player'], status['previous_stash']['first_player'] + 4) %} + + {% endfor %} + + {% for player in range(status['previous_stash']['first_player'], status['previous_stash']['first_player'] + 4) %} + + {% endfor %} + +
{{ players[player % 4] }}
+ {% if status['previous_stash']['cards'][player % 4] %} + + {% endif %} +
+ {% endif %} +