summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile.pug')
-rw-r--r--views/profile.pug11
1 files changed, 11 insertions, 0 deletions
diff --git a/views/profile.pug b/views/profile.pug
index 7ed8eff..99c8f16 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -28,6 +28,17 @@ html
br
| <a href="/delete-account">Delete account</a>
+ if !user.webhook
+ p <a href="/webhook">Configure webhook</a>
+ else if user.webhook.error
+ dl
+ dt <a href="/webhook">Configure webhook</a>
+ dd.error ERROR: #{user.webhook.error}
+ else
+ dl
+ dt <a href="/webhook">Configure webhook</a>
+ dd= new URL(user.webhook.url).hostname
+
p <a href="/chat">Chat log</a>
p