chuckya/app/views/accounts/_grid_card.html.haml

9 lines
320 B
Text
Raw Normal View History

.account-grid-card
.account-grid-card__header
2016-12-04 21:02:43 +09:00
.avatar= image_tag account.avatar.url( :original)
.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)