about summary refs log tree commit diff
path: root/app/views/accounts/_grid_card.html.haml
blob: dfd7a9f5e47a329bf28340b98869914ca75c3a1d (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)