<% if (attr.admin) { %> Obserwuj <% } else { %> <% } %> <% if (attr.own || attr.admin) { %> Edycja <% } else { %> Obserwuj <% } %> <% if (attr.own || attr.admin) { %> Usuń <% } else { } %> Dodaj komentarz

> <%= attr.title %><%= (attr.url)? ' ('+attr.url+')': '' %>

autor <%= attr.author.name %> <%= (attr.likes && attr.likes.length>0) ? '| Polubienia: '+attr.likes.length :'' %> <%= (attr.comments && attr.comments.length>0) ? '| Comments: '+attr.comments.length :'' %> <%= (attr.watches && attr.watches.length>0) ? '| Watches: '+attr.watches.length :'' %>