diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-01-18 00:56:28 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-18 01:14:38 +0100 |
commit | fef72323ae627aa766b0871be7a51d7b30735e52 (patch) | |
tree | 52d96be01b3a0f12291f161b2164e84d0b8a1ea9 /views/profile.pug | |
parent | 96b9d98ebe79a8d64a7e6285bd500f57c4409dbb (diff) | |
download | server-fef72323ae627aa766b0871be7a51d7b30735e52.tar.gz |
Require mail to be verified to enable notifications.
Diffstat (limited to 'views/profile.pug')
-rw-r--r-- | views/profile.pug | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/views/profile.pug b/views/profile.pug index 2437eb2..391fca0 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -14,12 +14,13 @@ html if ENABLE_MAIL if !user.is_verified - p ⚠ <a href="/verify-mail">Verify your mail address</a> - + p ⚠ <a href="/verify-mail">Verify your mail address!</a> + p You must verify your mail address before you can enable notifications. + else + if !user.notify + p <a href="/subscribe">Enable mail notifications</a> if user.notify p <a href="/unsubscribe">Disable mail notifications</a> - else - p <a href="/subscribe">Enable mail notifications</a> p | <a href="/change-password">Change password</a> |