From 644c287eede443c608eeab0cc6cd41da228947e3 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 6 May 2025 20:25:36 +0200 Subject: Remove "api" prefix on many routes. --- views/profile.pug | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) (limited to 'views/profile.pug') diff --git a/views/profile.pug b/views/profile.pug index de6e5c4..2f9218d 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -18,7 +18,7 @@ html +userstats(who, ratings) - h3 Account + h3 Notifications p Your mail address is #{user.mail} @@ -32,17 +32,6 @@ html if mail.notify p Disable mail notifications - p - | Change password - br - | Change mail address - br - | Change user name - br - | Change profile text - p - | Delete account - if ENABLE_WEBHOOKS if !webhook p Configure webhook @@ -55,6 +44,20 @@ html dt Configure webhook dd= new URL(webhook.url).hostname + h3 Account + + p + | Change password + br + | Change mail address + br + | Change user name + br + | Change profile text + + p + | Delete account + p form(action="/account/logout" method="post") button(type="submit") Logout -- cgit v1.2.3