//- vim:ts=4:sw=4:
doctype html
html
head
include head
title= SITE_NAME
body
include header
article
h1= SITE_NAME
p Welcome, #{user.name}!
p Your mail address is #{user.mail}
if ENABLE_MAIL
if !user.is_verified
p Verify your mail address
if user.notify
p Disable mail notifications
else
p Enable mail notifications
p
| Change password
br
| Change mail address
br
| Change user name
br
| Change profile text
br
| Delete account
if ENABLE_WEBHOOKS
if !user.webhook
p Configure webhook
else if user.webhook.error
dl
dt Configure webhook
dd.error ERROR: #{user.webhook.error}
else
dl
dt Configure webhook
dd= new URL(user.webhook.url).hostname
p
form(action="/logout" method="post")
button(type="submit") Logout