summaryrefslogtreecommitdiff
path: root/views/tm_finished.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-10-13 12:48:48 +0200
committerTor Andersson <tor@ccxvii.net>2024-10-13 18:49:00 +0200
commit4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4 (patch)
treea344e7c011b07e83ab0abf57e1aa043a9a81dff2 /views/tm_finished.pug
parent88d909a874499f9d3d18e76ff30c1155caa2e48e (diff)
downloadserver-4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4.tar.gz
Tournaments!
Diffstat (limited to 'views/tm_finished.pug')
-rw-r--r--views/tm_finished.pug18
1 files changed, 18 insertions, 0 deletions
diff --git a/views/tm_finished.pug b/views/tm_finished.pug
new file mode 100644
index 0000000..efe193d
--- /dev/null
+++ b/views/tm_finished.pug
@@ -0,0 +1,18 @@
+//- vim:ts=4:sw=4:
+doctype html
+html
+ head
+ include head
+ title= SITE_NAME
+ body
+ include header
+ article.wide
+ if user && user.user_id === who.user_id
+ h1 Your finished tournaments
+ else
+ h1 #{who.name}&rsquo;s finished tournaments
+
+ if pools.length > 0
+ +poollist(pools, TM_ICON_FINISHED)
+ else
+ p Nothing here.