From fb9fa1b6365c1c13e00c35257e53eebf610f0c6c Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 16 Jun 2021 16:26:27 +0200 Subject: Add mail notifications. --- views/profile.ejs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'views/profile.ejs') diff --git a/views/profile.ejs b/views/profile.ejs index 0b3f20f..02f6e72 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -12,6 +12,15 @@ Your mail address is <%= user.mail %>.
+

+<% + if (user.notifications) { + %>Disable mail notifications<% + } else { + %>Enable mail notifications<% + } +%> +

Change password -- cgit v1.2.3