summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2025-05-06 20:30:33 +0200
committerTor Andersson <tor@ccxvii.net>2025-05-08 12:27:31 +0200
commitb76c70aec392e8423fde6a29fb5b2a7a9f6a045f (patch)
treef149b0423f52c46a152ff032e0a20abbb1d3191b /views/profile.pug
parent83949e45c0f3abfba5432a4bdf38e2fc744afec2 (diff)
downloadserver-b76c70aec392e8423fde6a29fb5b2a7a9f6a045f.tar.gz
Rename pug files to match access url.HEADmaster
Diffstat (limited to 'views/profile.pug')
-rw-r--r--views/profile.pug4
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