diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/profile.ejs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index 0b3f20f..02f6e72 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -13,6 +13,15 @@ Your mail address is <%= user.mail %>. <br clear=left> <p> +<% + if (user.notifications) { + %><a href="/unsubscribe">Disable mail notifications</a><% + } else { + %><a href="/subscribe">Enable mail notifications</a><% + } +%> + +<p> <a href="/change_password">Change password</a> <p> |