2016-04-06 22:34:21 +02:00
|
|
|
<div class='content-wrapper' id='user'>
|
2016-06-23 11:41:52 +02:00
|
|
|
<h1><%- ctx.user.name %></h1>
|
2016-06-05 21:46:57 +02:00
|
|
|
<nav class='buttons'><!--
|
2016-04-06 22:34:21 +02:00
|
|
|
--><ul><!--
|
2016-06-23 11:41:52 +02:00
|
|
|
--><li data-name='summary'><a href='/user/<%- ctx.user.name %>'>Summary</a></li><!--
|
2016-05-21 09:45:43 +02:00
|
|
|
--><% if (ctx.canEditAnything) { %><!--
|
2016-06-23 11:41:52 +02:00
|
|
|
--><li data-name='edit'><a href='/user/<%- ctx.user.name %>/edit'>Account settings</a></li><!--
|
2016-05-09 20:07:54 +02:00
|
|
|
--><% } %><!--
|
2016-05-21 09:45:43 +02:00
|
|
|
--><% if (ctx.canDelete) { %><!--
|
2016-06-23 11:41:52 +02:00
|
|
|
--><li data-name='delete'><a href='/user/<%- ctx.user.name %>/delete'>Account deletion</a></li><!--
|
2016-05-09 20:07:54 +02:00
|
|
|
--><% } %><!--
|
2016-04-06 22:34:21 +02:00
|
|
|
--></ul><!--
|
|
|
|
--></nav>
|
|
|
|
<div id='user-content-holder'></div>
|
|
|
|
</div>
|