12b43b1bb8
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.
18 lines
484 B
Smarty
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>
|