summaryrefslogtreecommitdiff
path: root/views/tm_finished.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-02-15 10:19:49 +0100
committerTor Andersson <tor@ccxvii.net>2025-02-15 10:23:32 +0100
commit09b8fb93b5b459d3442d0cd3abe58e2010fb0d86 (patch)
treeab883e15f337aab7bee34619251aaca25bf3518b /views/tm_finished.pug
parentea5ee6b976dedc1ac54d7fb71473db0131d735be (diff)
downloadserver-09b8fb93b5b459d3442d0cd3abe58e2010fb0d86.tar.gz
Set page titles.
Diffstat (limited to 'views/tm_finished.pug')
-rw-r--r--views/tm_finished.pug5
1 files changed, 4 insertions, 1 deletions
diff --git a/views/tm_finished.pug b/views/tm_finished.pug
index efe193d..5d077c6 100644
--- a/views/tm_finished.pug
+++ b/views/tm_finished.pug
@@ -3,7 +3,10 @@ doctype html
html
head
include head
- title= SITE_NAME
+ if user && user.user_id === who.user_id
+ title Your finished tournaments
+ else
+ title #{who.name}&rsquo;s finished tournaments
body
include header
article.wide