gallery.accords-library.com/client/html/users_page.tpl

31 lines
1.2 KiB
Smarty
Raw Normal View History

2016-04-10 20:13:01 +00:00
<div class='user-list'>
<ul><!--
2017-02-08 23:48:06 +00:00
--><% for (let user of ctx.response.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='<%- ctx.formatClientLink('user', user.name) %>'>
2016-06-11 07:59:29 +00:00
<% } %>
<%= 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='<%- ctx.formatClientLink('user', user.name) %>'>
2016-06-11 07:59:29 +00:00
<% } %>
<%- user.name %>
2016-06-11 07:59:29 +00:00
<% if (ctx.canViewUsers) { %>
</a>
<% } %>
<br/>
Registered: <%= ctx.makeRelativeTime(user.creationTime) %><br/>
Last seen: <%= ctx.makeRelativeTime(user.lastLoginTime) %>
2016-04-10 20:13:01 +00:00
</div>
</div>
</li><!--
--><% } %><!--
--><%= ctx.makeFlexboxAlign() %><!--
2016-04-10 20:13:01 +00:00
--></ul>
</div>