summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/join.pug6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/join.pug b/views/join.pug
index 37c245b..bfb0cb8 100644
--- a/views/join.pug
+++ b/views/join.pug
@@ -104,3 +104,9 @@ html
if !user && !ready
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}
+ br