From 25279f5d6bbe3a55451faaf1dc830d4a0795a665 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 29 Apr 2024 09:46:23 +0200 Subject: Show more detail in rewind links. --- views/join.pug | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'views/join.pug') diff --git a/views/join.pug b/views/join.pug index c3960b7..96fb935 100644 --- a/views/join.pug +++ b/views/join.pug @@ -106,7 +106,8 @@ html p Login or sign up to play. if user && user.user_id === 1 - p - - for (let snap_id = rewind; snap_id > 0 && snap_id > rewind-5; --snap_id) - a(href="/admin/rewind/" + game.game_id + "/" + snap_id) REWIND #{snap_id} + hr + div: p + each snap in rewind + REWIND #{snap.snap_id} - #{snap.state} - #{snap.active} br -- cgit v1.2.3