summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-07-07 15:29:04 +0200
committerTor Andersson <tor@ccxvii.net>2021-07-07 15:44:38 +0200
commite1ba80b1b7561f50c71d4ec45912eb39f438b511 (patch)
tree0e45efb6f509ee7b9be5d885864709746e8e22f7 /views/profile.ejs
parent0e1ac6bad899cf4b58a5455dd0953cc501bc0810 (diff)
downloadserver-e1ba80b1b7561f50c71d4ec45912eb39f438b511.tar.gz
Add pages to change your user name and email.
Diffstat (limited to 'views/profile.ejs')
-rw-r--r--views/profile.ejs15
1 files changed, 7 insertions, 8 deletions
diff --git a/views/profile.ejs b/views/profile.ejs
index 7829870..74843f3 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -12,20 +12,19 @@ Your mail address is <%= user.mail %>.
<br clear=left>
-<p>
-<%
+<ul style="list-style:'\bb '">
+<li><%
if (user.notifications) {
%><a href="/unsubscribe">Disable mail notifications</a><%
} else {
%><a href="/subscribe">Enable mail notifications</a><%
}
%>
-
-<p>
-<a href="/change_password">Change password</a>
-
-<p>
-<a href="/logout">Logout</a>
+<li><a href="/change_password">Change password</a>
+<li><a href="/change_mail">Change mail address</a>
+<li><a href="/change_name">Change name</a>
+<li><a href="/logout">Logout</a>
+</ul>
<% if (open_games.length > 0) { %>
<h2>Open Games</h2>