about summary refs log tree commit diff
path: root/app/views/accounts/_grid_card.html.haml
blob: dfdb231611d05a8824fb32f8ff3d17d2c6d59d8b (plain) (blame)
1
2
3
4
5
6
7
8
.account-grid-card
  .account-grid-card__header
    .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)