<%= attr.displayName %>

Rola: <% var roles = 'user staff mentor investor founder'.split(' '); if (profile.admin) { %>

<% } else { %> <%= (attr.role=='admin')? 'admin' : '' %> <%= (attr.role=='user')? 'user' : '' %> <%= (!attr.role)? 'user' : '' %> <% } %>

Polubienia: <%= attr.posts.likes.length %>

Obserwowane: <%= attr.posts.watches.length %>

Komentarze: <%= attr.posts.comments.length %>

Punkty: <%= (100+attr.posts.likes.length+attr.posts.watches.length+attr.posts.comments.length*4) %>

<%= (attr.headline)? attr.headline : attr.displayName %>

<%= (attr.email)? '

Email:

' + attr.email : '' %>

Łącza: <%= (attr.angelUrl) ? ''+attr.angelUrl+'' : '' %>
<%= (attr.twitterUrl) ? ''+attr.twitterUrl+'' : '' %>
<%= (attr.facebookUrl) ? ''+attr.facebookUrl+'' : '' %>
<%= (attr.linkedinUrl) ? ''+attr.linkedinUrl+'' : '' %>
<%= (attr.githubUrl) ? ''+attr.githubUrl+'' : '' %>


Posty

<% _.each(attr.posts.own, function(value,key,list) { %>

<%= value.title %>

<% });%>
<% if (attr.own) {%>

<%}%>