diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-05-06 20:25:36 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-05-08 12:27:31 +0200 |
commit | 83949e45c0f3abfba5432a4bdf38e2fc744afec2 (patch) | |
tree | 2bf71850e6afe5c954515edcc110f7c91cf6d7f2 /views/profile.pug | |
parent | 4fabe52169e718af25b407533d775da3f3192015 (diff) | |
download | server-83949e45c0f3abfba5432a4bdf38e2fc744afec2.tar.gz |
Remove "api" prefix on many routes.
Diffstat (limited to 'views/profile.pug')
-rw-r--r-- | views/profile.pug | 27 |
1 files changed, 15 insertions, 12 deletions
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 <a href="/account/mail/unsubscribe">Disable mail notifications</a> - p - | <a href="/account/change-password">Change password</a> - br - | <a href="/account/change-mail">Change mail address</a> - br - | <a href="/account/change-name">Change user name</a> - br - | <a href="/account/change-about">Change profile text</a> - p - | <a href="/account/delete">Delete account</a> - if ENABLE_WEBHOOKS if !webhook p <a href="/account/webhook">Configure webhook</a> @@ -55,6 +44,20 @@ html dt <a href="/account/webhook">Configure webhook</a> dd= new URL(webhook.url).hostname + h3 Account + + p + | <a href="/account/change-password">Change password</a> + br + | <a href="/account/change-mail">Change mail address</a> + br + | <a href="/account/change-name">Change user name</a> + br + | <a href="/account/change-about">Change profile text</a> + + p + | <a href="/account/delete">Delete account</a> + p form(action="/account/logout" method="post") button(type="submit") Logout |