From 4cfbe0019331c8fb2d381606806e6bea253ca14a Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 15 Jan 2022 23:00:42 +0100 Subject: Separate open and ready to start game lists. --- views/info.pug | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'views/info.pug') diff --git a/views/info.pug b/views/info.pug index 86a74d0..e38091c 100644 --- a/views/info.pug +++ b/views/info.pug @@ -25,6 +25,10 @@ html p a(href="/create/"+title.title_id) Create a new game + if ready_games.length > 0 + h2 Ready to start + +gametable(0,ready_games) + if active_games.length > 0 h2 Active games +gametable(1,active_games,1) -- cgit v1.2.3