about summary refs log tree commit diff
path: root/app/views/accounts/_grid_card.html.haml
blob: 305eb2c44cc7746609d4769be5a90dc028771ab2 (plain) (blame)
1
2
3
4
5
6
7
8
9
.account-grid-card
  .account-grid-card__header{ style: "background-image: url(#{account.header.url(:original)})" }
  .account-grid-card__avatar
    .avatar= image_tag account.avatar.url(:original)
  .name
    = link_to TagManager.instance.url_for(account) do
      %span.display_name.emojify= display_name(account)
      %span.username @#{account.acct}
  %p.note.emojify= truncate(strip_tags(account.note), length: 150)