2014-09-04 19:07:57 +02:00
|
|
|
<div id="user-view">
|
|
|
|
<div class="messages"></div>
|
2014-09-07 00:33:46 +02:00
|
|
|
|
|
|
|
<img src="/api/users/<%= user.name %>/avatar/50" alt="Avatar"/>
|
2014-09-04 19:07:57 +02:00
|
|
|
<%= user.name %>
|
|
|
|
|
2014-09-07 00:33:46 +02:00
|
|
|
<% if (canChangeBrowsingSettings) { %>
|
|
|
|
<h2>Browsing settings</h2>
|
|
|
|
<div id="browsing-settings-target"></div>
|
|
|
|
<% } %>
|
2014-09-04 19:07:57 +02:00
|
|
|
|
2014-09-07 00:33:46 +02:00
|
|
|
<% if (canChangeAccountSettings) { %>
|
|
|
|
<h2>Account settings</h2>
|
|
|
|
<div id="account-settings-target"></div>
|
|
|
|
<% } %>
|
2014-09-04 19:07:57 +02:00
|
|
|
|
2014-09-05 13:50:51 +02:00
|
|
|
<% if (canDeleteAccount) { %>
|
|
|
|
<h2>Account removal</h2>
|
2014-09-07 00:33:46 +02:00
|
|
|
<div id="account-removal-target"></div>
|
2014-09-05 13:50:51 +02:00
|
|
|
<% } %>
|
|
|
|
|
2014-09-04 19:07:57 +02:00
|
|
|
</div>
|