diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-05-06 20:30:33 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-05-08 12:27:31 +0200 |
commit | b76c70aec392e8423fde6a29fb5b2a7a9f6a045f (patch) | |
tree | f149b0423f52c46a152ff032e0a20abbb1d3191b /views/profile.pug | |
parent | 83949e45c0f3abfba5432a4bdf38e2fc744afec2 (diff) | |
download | server-b76c70aec392e8423fde6a29fb5b2a7a9f6a045f.tar.gz |
Diffstat (limited to 'views/profile.pug')
-rw-r--r-- | views/profile.pug | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/views/profile.pug b/views/profile.pug index 2f9218d..0542a64 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -31,6 +31,8 @@ html p <a href="/account/mail/subscribe">Enable mail notifications</a> if mail.notify p <a href="/account/mail/unsubscribe">Disable mail notifications</a> + else + p.error Mail notifications are disabled on this server. if ENABLE_WEBHOOKS if !webhook @@ -43,6 +45,8 @@ html dl dt <a href="/account/webhook">Configure webhook</a> dd= new URL(webhook.url).hostname + else + p.error Webhook notifications are disabled on this server. h3 Account |