diff options
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 |