summaryrefslogtreecommitdiff
path: root/views/message_inbox.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-12-01 17:17:22 +0100
committerTor Andersson <tor@ccxvii.net>2021-12-01 18:05:17 +0100
commitc31a0939759c5518dd3dfa10c41a14ee0eb534eb (patch)
tree64890cd6bbd4c49ecf80bf41a40d5ace66e8e6d2 /views/message_inbox.pug
parent75f3f12753457470f2f4f75b4f7aa783975e8f4f (diff)
downloadserver-c31a0939759c5518dd3dfa10c41a14ee0eb534eb.tar.gz
Reformat SQL schema for readability.
Diffstat (limited to 'views/message_inbox.pug')
-rw-r--r--views/message_inbox.pug2
1 files changed, 1 insertions, 1 deletions
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