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