diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-04-29 09:46:23 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-04 23:38:50 +0200 |
commit | 25279f5d6bbe3a55451faaf1dc830d4a0795a665 (patch) | |
tree | 1a83b06ee3302fd247bdcf42985a3268535eb1d3 /views | |
parent | 71e3087f5a8382a38b0780758b4b9b44230e8c98 (diff) | |
download | server-25279f5d6bbe3a55451faaf1dc830d4a0795a665.tar.gz |
Show more detail in rewind links.
Diffstat (limited to 'views')
-rw-r--r-- | views/join.pug | 7 |
1 files changed, 4 insertions, 3 deletions
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 <a href="/login">Login</a> or <a href="/signup">sign up</a> 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 + <a href="/admin/rewind/#{game.game_id}/#{snap.snap_id}">REWIND #{snap.snap_id}</a> - #{snap.state} - #{snap.active} br |