summaryrefslogtreecommitdiff
path: root/views/profile.pug
diff options
context:
space:
mode:
Diffstat (limited to 'views/profile.pug')
-rw-r--r--views/profile.pug27
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