Skip to content

Commit bc144d7

Browse files
committed
add link to trainer request
1 parent aa03921 commit bc144d7

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

views/user.etlua

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@
4141
<hr />
4242

4343
<% if not user.is_puppet then %>
44-
<div class="notfications_settings">
45-
<input class="notify_comment" type="checkbox" id="notify_comment" value="x" <% if user.notify_comment then %> checked <% end %> />
46-
Notify me on comment <br />
47-
<input class="notify_like" type="checkbox" id="notify_like" value="x" <% if user.notify_like then %> checked <% end %> />
48-
Notify me on likes
49-
</div>
44+
<div class="notfications_settings">
45+
<input class="notify_comment" type="checkbox" id="notify_comment" value="x" <% if user.notify_comment then %> checked <% end %> />
46+
Notify me on comment <br />
47+
<input class="notify_like" type="checkbox" id="notify_like" value="x" <% if user.notify_like then %> checked <% end %> />
48+
Notify me on likes
49+
</div>
5050
<% end %>
5151

5252
<hr />
@@ -77,11 +77,12 @@
7777
<div class="joined"><p><strong>Joined:</strong> <%= user.joinedString %></p></div>
7878

7979
<% if (user.username == session.username) then %>
80-
<div class="password"><p><a href="/change_password">Change my Password</a></p></div>
80+
<div class="password"><p><a href="/change_password">Change my Password</a></p></div>
81+
<div class="password"><p><a href="/request_trainer">Request Trainer Account</a></p></div>
8182
<% end %>
8283

8384
<% if visitor and visitor.isadmin then %>
84-
<h4> ADMIN FUNCIONS</h4>
85+
<h4> ADMIN FUNCTIONS</h4>
8586
<div class="email">
8687
<p>
8788
E-Mail: <a href="mailto:<%- user.email -%>"><%- user.email -%></a><br>

0 commit comments

Comments
 (0)