summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/profile.pug9
-rw-r--r--views/signup.pug6
2 files changed, 5 insertions, 10 deletions
diff --git a/views/profile.pug b/views/profile.pug
index 2437eb2..391fca0 100644
--- a/views/profile.pug
+++ b/views/profile.pug
@@ -14,12 +14,13 @@ html
if ENABLE_MAIL
if !user.is_verified
- p &#x26a0; <a href="/verify-mail">Verify your mail address</a>
-
+ p &#x26a0; <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>
diff --git a/views/signup.pug b/views/signup.pug
index 8ce41a2..c552f91 100644
--- a/views/signup.pug
+++ b/views/signup.pug
@@ -36,11 +36,5 @@ html
label Password:
br
input(type="password" name="password" required)
- div
- label
- input(type="checkbox" name="notify" value="true")
- | Enable mail notifications
- div(style="margin-left:2rem")
- i (when it is your turn, your games are ready to start, etc.)
p
button(type="submit") Create account