From 1a71184bcbf714d266e80d186fd666d393ed5981 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Fri, 19 Nov 2021 02:45:51 +0100 Subject: Clean up stylesheets. Don't show options in game lists. --- views/message_inbox.ejs | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'views/message_inbox.ejs') diff --git a/views/message_inbox.ejs b/views/message_inbox.ejs index e70e156..626662d 100644 --- a/views/message_inbox.ejs +++ b/views/message_inbox.ejs @@ -1,12 +1,19 @@ -<%- include('header', { title: "Inbox" }) %> +<%- include('header', { title: "Inbox" }) -%> +

Send message "> - +<% } else {%> + +<% } %> + <% } %> -- cgit v1.2.3
FromSubjectDate <% if (messages.length > 0) { messages.forEach((row) => { %> -
<%= row.from_name %> -<%= row.subject %> -<%= row.time %> +<% if (row.read) { %> +
<%= row.from_name %> +<%= row.subject %> +<%= row.time %> <% }); } else { %>
No messages