diff --git a/app/templates/players/players_list.html b/app/templates/players/players_list.html index 5a3d6a9..4f63d5d 100644 --- a/app/templates/players/players_list.html +++ b/app/templates/players/players_list.html @@ -162,16 +162,15 @@ {{ player.orientation or 'Landscape' }} - {% set status = player_statuses.get(player.id, {}) %} - {% if status.get('is_online') %} + {% if player.is_online %} Online {% else %} Offline {% endif %} - {% if player.last_heartbeat %} - {{ player.last_heartbeat.strftime('%Y-%m-%d %H:%M') }} + {% if player.last_seen %} + {{ player.last_seen.strftime('%Y-%m-%d %H:%M') }} {% else %} Never {% endif %}