summaryrefslogtreecommitdiff
path: root/views/head.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-12-02 01:39:18 +0100
committerTor Andersson <tor@ccxvii.net>2024-12-02 01:39:36 +0100
commit91bf5a6b2b98ec7e705903642f0c0b2a1bb35bc6 (patch)
tree53176974e63dcd8dd37d083e6b68252c3db8c6e4 /views/head.pug
parent1c50881cf282e85676b9b3ba96f0ea361675a093 (diff)
downloadserver-91bf5a6b2b98ec7e705903642f0c0b2a1bb35bc6.tar.gz
Tweak layout of tournament lists (registrations and active in same group)HEADmaster
Diffstat (limited to 'views/head.pug')
-rw-r--r--views/head.pug14
1 files changed, 5 insertions, 9 deletions
diff --git a/views/head.pug b/views/head.pug
index 3792429..7489651 100644
--- a/views/head.pug
+++ b/views/head.pug
@@ -185,12 +185,8 @@ mixin tourlist(seeds, pools, fin)
if (seeds && seeds.length > 0) || (pools && pools.length > 0) || (fin && fin.length > 0)
h2 Tournaments
div.tour_list
- if seeds && seeds.length > 0
- div
- +seedlist(seeds, "Registrations")
- if pools && pools.length > 0
- div
- +poollist(pools, "Active", TM_ICON_ACTIVE)
- if fin && fin.length > 0
- div
- +poollist(fin, "Finished", TM_ICON_FINISHED)
+ div
+ +seedlist(seeds, "Registrations")
+ +poollist(pools, "Active", TM_ICON_ACTIVE)
+ div
+ +poollist(fin, "Finished", TM_ICON_FINISHED)