From 86ee8f02d4230199378eb055a5a89c15844208c9 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 9 Nov 2021 21:26:10 +0100 Subject: Messages. --- views/message_read.ejs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 views/message_read.ejs (limited to 'views/message_read.ejs') diff --git a/views/message_read.ejs b/views/message_read.ejs new file mode 100644 index 0000000..f4a791e --- /dev/null +++ b/views/message_read.ejs @@ -0,0 +1,27 @@ +<%- include('header', { title: mail.subject }) %> + + + + +
From: <%= mail.from_name %> +
To: <%= mail.to_name %> +
Date: <%= mail.time %> +
<%= mail.body %>
+

+<% if ( mail.from_id !== user.user_id ) { %> + +<% } %> + -- cgit v1.2.3