From 3682e456846d14f827a2f736e08b93aba0076540 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 5 Nov 2024 21:54:37 +0100 Subject: Improve tournament sorting order. --- views/tm_list.pug | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) (limited to 'views/tm_list.pug') diff --git a/views/tm_list.pug b/views/tm_list.pug index 4f7c147..bc7fd83 100644 --- a/views/tm_list.pug +++ b/views/tm_list.pug @@ -11,20 +11,8 @@ html p See tournament information. - if 0 - dl - each seeds, title_id in seeds_by_title - dt= TITLE_NAME[title_id] - each seed in seeds - dd - a(href="/tm/seed/" + seed.seed_name)= seed.seed_name - | (#{seed.queue_size}/#{seed.pool_size}) - if user && seed.is_queued - | 🎫 - if 0 - each seeds, title_id in seeds_by_title - +seedlist(seeds, TITLE_NAME[title_id]) - if 1 - +seedlist(seeds, "Mini Cup") + +seedlist(seeds, "Mini Cup") - +poollist(active_pools, "Active") + h2 Active + each pools, seed_name in pools_by_seed + +poollist(pools, `${seed_name}`) -- cgit v1.2.3