1
0
mirror of https://github.com/mastodon/mastodon synced 2024-12-18 00:28:24 +09:00
mastodon/app/views/accounts/_grid_card.html.haml

9 lines
317 B
Plaintext
Raw Normal View History

.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)