chinwagsocial/app/views/accounts/_grid_card.html.haml
2016-09-09 20:04:34 +02:00

8 lines
317 B
Text

.account-grid-card
.account-grid-card__header
.avatar= image_tag account.avatar.url(:medium)
.name
= link_to TagManager.instance.url_for(account) do
%span.display_name= display_name(account)
%span.username= "@#{account.acct}"
%p.note= truncate(strip_tags(account.note), length: 150)