diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/create.pug | 4 | ||||
-rw-r--r-- | views/index.pug | 2 | ||||
-rw-r--r-- | views/join.pug | 2 | ||||
-rw-r--r-- | views/message_inbox.pug | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/views/create.pug b/views/create.pug index 9196aa9..a736dbe 100644 --- a/views/create.pug +++ b/views/create.pug @@ -30,11 +30,11 @@ html input(type="text" autocomplete="off" name="description" size=50) p label - input(type="checkbox" name="random" value="true") + input(type="checkbox" name="is_random" value="true") | Random player roles p label - input(type="checkbox" name="private" value="true") + input(type="checkbox" name="is_private" value="true") | Private p button(type="submit") Create diff --git a/views/index.pug b/views/index.pug index 8ada2fc..db6fcdc 100644 --- a/views/index.pug +++ b/views/index.pug @@ -38,7 +38,7 @@ html div.list each title in titles - unless title.hidden + unless title.is_hidden div a(href="/info/"+title.title_id) img(src="/"+title.title_id+"/cover.jpg") diff --git a/views/join.pug b/views/join.pug index be95075..8a04ad6 100644 --- a/views/join.pug +++ b/views/join.pug @@ -29,7 +29,7 @@ html a(href="/info/"+game.title_id): img.logo(src="/"+game.title_id+"/cover.jpg") p - if game.private + if game.is_private | Owner: #{game.owner_name} (private) else | Owner: #{game.owner_name} diff --git a/views/message_inbox.pug b/views/message_inbox.pug index 28563d8..9b0a1ab 100644 --- a/views/message_inbox.pug +++ b/views/message_inbox.pug @@ -19,7 +19,7 @@ html th Subject th Date each row in messages - tr(class=row.read?"read":"unread") + tr(class=row.is_read?"read":"unread") td: a(href="/user/"+row.from_name)= row.from_name td: a(href="/message/read/"+row.message_id)= row.subject td= row.time |