szurubooru/public_html/templates/user.tpl
2014-10-18 18:48:18 +02:00

22 lines
496 B
Smarty

<div id="user-view">
<div class="messages"></div>
<img src="/api/users/<%= user.name %>/avatar/50" alt="Avatar"/>
<%= user.name %>
<% if (canChangeBrowsingSettings) { %>
<h2>Browsing settings</h2>
<div id="browsing-settings-target"></div>
<% } %>
<% if (canChangeAccountSettings) { %>
<h2>Account settings</h2>
<div id="account-settings-target"></div>
<% } %>
<% if (canDeleteAccount) { %>
<h2>Account removal</h2>
<div id="account-removal-target"></div>
<% } %>
</div>