summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-09-17 12:53:59 +0200
committerTor Andersson <tor@ccxvii.net>2023-09-18 21:16:47 +0200
commitcf21510ca3c18d650c7846707d145393cb260246 (patch)
tree78cda71dd1ae3dd077fc3ef259b5669fb8e6c2cd /views
parent5b935e30b48000ba828348d85235604999dff81e (diff)
downloadserver-cf21510ca3c18d650c7846707d145393cb260246.tar.gz
Tweak title globals.
Diffstat (limited to 'views')
-rw-r--r--views/create-index.pug2
-rw-r--r--views/create.pug2
-rw-r--r--views/index.pug2
-rw-r--r--views/info.pug2
4 files changed, 4 insertions, 4 deletions
diff --git a/views/create-index.pug b/views/create-index.pug
index 6c45961..d038810 100644
--- a/views/create-index.pug
+++ b/views/create-index.pug
@@ -10,7 +10,7 @@ html
h1 Create a new game
ul
- each title in titles
+ each title in TITLE_LIST
unless title.is_hidden
li
a(href="/create/"+title.title_id)= title.title_name
diff --git a/views/create.pug b/views/create.pug
index c8c70b2..32fa01b 100644
--- a/views/create.pug
+++ b/views/create.pug
@@ -23,7 +23,7 @@ html
option(value=scenario)= scenario
else
input(type="hidden" name="scenario" value=scenarios[0])
- | !{ create_html }
+ | !{ title.create_html }
p Notice:
br
diff --git a/views/index.pug b/views/index.pug
index 8e399a7..190018b 100644
--- a/views/index.pug
+++ b/views/index.pug
@@ -39,7 +39,7 @@ html
p Registration and use is free, and there are no ads.
div.list
- each title in titles
+ each title in TITLE_LIST
unless title.is_hidden
div.item
div.i
diff --git a/views/info.pug b/views/info.pug
index 51fc81d..369cf8a 100644
--- a/views/info.pug
+++ b/views/info.pug
@@ -15,7 +15,7 @@ html
div.logo
+gamecover(title.title_id)
- | !{ about_html }
+ | !{ title.about_html }
p Read more about the game on #[a(href="https://boardgamegeek.com/boardgame/"+title.bgg) boardgamegeek.com].