diff options
Diffstat (limited to 'views/profile.pug')
-rw-r--r-- | views/profile.pug | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/views/profile.pug b/views/profile.pug index 2437eb2..4ecf289 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -3,23 +3,24 @@ doctype html html head include head - title= SITE_NAME + title Profile body include header article h1= SITE_NAME - p Welcome, #{user.name}! + p Welcome, <a class="black" href="/user/#{user.name}">#{user.name}</a>! p Your mail address is #{user.mail} if ENABLE_MAIL if !user.is_verified - p ⚠ <a href="/verify-mail">Verify your mail address</a> - + p ⚠ <a href="/verify-mail">Verify your mail address!</a> + p You must verify your mail address before you can enable notifications. + else + if !user.notify + p <a href="/subscribe">Enable mail notifications</a> if user.notify p <a href="/unsubscribe">Disable mail notifications</a> - else - p <a href="/subscribe">Enable mail notifications</a> p | <a href="/change-password">Change password</a> |