2014-10-04 14:06:44 +02:00
|
|
|
<div class="user">
|
2014-11-17 22:16:02 +01:00
|
|
|
<div class="avatar">
|
|
|
|
<% if (canViewUsers) { %>
|
|
|
|
<a href="#/user/<%= user.name %>">
|
|
|
|
<% } %>
|
|
|
|
<img width="80" height="80" src="/data/thumbnails/80x80/avatars/<%= user.name %>" alt="<%= user.name %>"/>
|
|
|
|
<% if (canViewUsers) { %>
|
|
|
|
</a>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
|
2014-09-12 22:58:07 +02:00
|
|
|
<div class="details">
|
|
|
|
<h1>
|
2014-11-17 22:16:02 +01:00
|
|
|
<% if (canViewUsers) { %>
|
|
|
|
<a href="#/user/<%= user.name %>">
|
|
|
|
<%= user.name %>
|
|
|
|
</a>
|
|
|
|
<% } else { %>
|
2014-09-12 22:58:07 +02:00
|
|
|
<%= user.name %>
|
2014-11-17 22:16:02 +01:00
|
|
|
<% } %>
|
2014-09-12 22:58:07 +02:00
|
|
|
</h1>
|
|
|
|
<div class="date-joined" title="<%= user.registrationTime %>">
|
|
|
|
Joined: <%= formatRelativeTime(user.registrationTime) %>
|
|
|
|
</div>
|
|
|
|
<div class="date-seen">
|
|
|
|
Last seen: <%= formatRelativeTime(user.lastLoginTime) %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-04 14:06:44 +02:00
|
|
|
</div>
|