szurubooru/public_html/templates/user-list-item.tpl
Marcin Kurczewski 12b43b1bb8 Added endless scroll (closed #5)
The code for paged collections now feels like playing ping-pong with
callbacks, and like I have no idea on who should render who.

It works, though.
2014-10-18 18:48:21 +02:00

18 lines
484 B
Smarty

<li class="user">
<a href="#/user/<%= user.name %>">
<img src="/api/users/<%= user.name %>/avatar/80" alt="<%= user.name %>"/>
</a>
<div class="details">
<h1>
<a href="#/user/<%= user.name %>">
<%= user.name %>
</a>
</h1>
<div class="date-joined" title="<%= user.registrationTime %>">
Joined: <%= formatRelativeTime(user.registrationTime) %>
</div>
<div class="date-seen">
Last seen: <%= formatRelativeTime(user.lastLoginTime) %>
</div>
</div>
</li>