<% if (success) { %>
<%= success %>
<% } %>
<% if (error) { %>
<%= error %>
<% } %>
<% if (!users.length) { %>
<% } else { %>
<% users.forEach(function(u) { %>
-
<% if (u.avatar_url) { %>

<% } else { %>
<%= u.username.charAt(0).toUpperCase() %>
<% } %>
<%= u.site_count %>
sites
<%= u.post_count %>
posts
<%= formatDate(u.created_at) %>
joined
<% if (u.id !== user.id && (u.post_count + u.site_count === 0)) { %>
<% } %>
<% }); %>
<% } %>