2016-04-10 20:13:01 +00:00
|
|
|
<div class='user-list'>
|
|
|
|
<ul><!--
|
2016-06-11 07:59:06 +00:00
|
|
|
--><% for (let user of ctx.results) { %><!--
|
2016-04-10 20:13:01 +00:00
|
|
|
--><li>
|
|
|
|
<div class='wrapper'>
|
2016-06-11 07:59:29 +00:00
|
|
|
<% if (ctx.canViewUsers) { %>
|
|
|
|
<a class='image' href='/user/<%= user.name %>'>
|
|
|
|
<% } %>
|
|
|
|
<%= ctx.makeThumbnail(user.avatarUrl) %>
|
|
|
|
<% if (ctx.canViewUsers) { %>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
2016-04-10 20:13:01 +00:00
|
|
|
<div class='details'>
|
2016-06-11 07:59:29 +00:00
|
|
|
<% if (ctx.canViewUsers) { %>
|
|
|
|
<a href='/user/<%= user.name %>'>
|
|
|
|
<% } %>
|
|
|
|
<%= user.name %>
|
|
|
|
<% if (ctx.canViewUsers) { %>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
|
|
|
<br/>
|
2016-05-21 07:45:43 +00:00
|
|
|
Registered: <%= ctx.makeRelativeTime(user.creationTime) %><br/>
|
|
|
|
Last seen: <%= ctx.makeRelativeTime(user.lastLoginTime) %>
|
2016-04-10 20:13:01 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</li><!--
|
2016-06-11 07:59:06 +00:00
|
|
|
--><% } %><!--
|
2016-05-21 07:45:43 +00:00
|
|
|
--><%= ctx.makeFlexboxAlign() %><!--
|
2016-04-10 20:13:01 +00:00
|
|
|
--></ul>
|
|
|
|
</div>
|