szuru/client/html/user.tpl

16 lines
744 B
Smarty
Raw Permalink Normal View History

2016-04-06 22:34:21 +02:00
<div class='content-wrapper' id='user'>
<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><!--
--><li data-name='summary'><a href='/user/<%- encodeURIComponent(ctx.user.name) %>'>Summary</a></li><!--
--><% if (ctx.canEditAnything) { %><!--
--><li data-name='edit'><a href='/user/<%- encodeURIComponent(ctx.user.name) %>/edit'>Account settings</a></li><!--
--><% } %><!--
--><% if (ctx.canDelete) { %><!--
--><li data-name='delete'><a href='/user/<%- encodeURIComponent(ctx.user.name) %>/delete'>Account deletion</a></li><!--
--><% } %><!--
2016-04-06 22:34:21 +02:00
--></ul><!--
--></nav>
<div id='user-content-holder'></div>
</div>