diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-02-15 10:19:49 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-02-15 10:23:32 +0100 |
commit | 09b8fb93b5b459d3442d0cd3abe58e2010fb0d86 (patch) | |
tree | ab883e15f337aab7bee34619251aaca25bf3518b /views | |
parent | ea5ee6b976dedc1ac54d7fb71473db0131d735be (diff) | |
download | server-09b8fb93b5b459d3442d0cd3abe58e2010fb0d86.tar.gz |
Set page titles.
Diffstat (limited to 'views')
-rw-r--r-- | views/create-index.pug | 2 | ||||
-rw-r--r-- | views/games_finished.pug | 5 | ||||
-rw-r--r-- | views/games_public.pug | 2 | ||||
-rw-r--r-- | views/profile.pug | 2 | ||||
-rw-r--r-- | views/tm_active.pug | 4 | ||||
-rw-r--r-- | views/tm_finished.pug | 5 |
6 files changed, 13 insertions, 7 deletions
diff --git a/views/create-index.pug b/views/create-index.pug index d038810..c508be7 100644 --- a/views/create-index.pug +++ b/views/create-index.pug @@ -3,7 +3,7 @@ doctype html html head include head - title= SITE_NAME + title Create game body include header article diff --git a/views/games_finished.pug b/views/games_finished.pug index 8d71717..90ec9a2 100644 --- a/views/games_finished.pug +++ b/views/games_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 games + else + title #{who.name}’s finished games body include header article.wide diff --git a/views/games_public.pug b/views/games_public.pug index 54591cd..8cfd541 100644 --- a/views/games_public.pug +++ b/views/games_public.pug @@ -3,7 +3,7 @@ doctype html html head include head - title= SITE_NAME + title Public room if user meta(http-equiv="refresh" content=900) body diff --git a/views/profile.pug b/views/profile.pug index 422f4d1..4ecf289 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -3,7 +3,7 @@ doctype html html head include head - title= SITE_NAME + title Profile body include header article diff --git a/views/tm_active.pug b/views/tm_active.pug index cc821b2..625eac2 100644 --- a/views/tm_active.pug +++ b/views/tm_active.pug @@ -3,11 +3,11 @@ doctype html html head include head - title= SITE_NAME + title Your tournaments body include header article.wide - h1 Your Tournaments + h1 Your tournaments if seeds && seeds.length > 0 +seedlist(seeds, "Registrations") 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}’s finished tournaments body include header article.wide |