about summary refs log tree commit diff
path: root/app/views/accounts/_grid_card.html.haml
blob: d107f5274e863aae7325a8bd2ecd6fbedd0348a3 (plain) (blame)
1
2
3
4
5
6
7
8
.account-grid-card
  .account-grid-card__header
    .avatar= image_tag account.avatar.url(:medium)
    .name
      = link_to url_for_target(account) do
        %span.display_name= display_name(account)
        %span.username= "@#{account.acct}"
  %p.note= truncate(strip_tags(account.note), length: 150)