about summary refs log tree commit diff
path: root/app/views/profile/_status.html.haml
blob: c2033b4f731e89207902adff2420e5942fcba285 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%div.entry{ class: status.reblog? ? 'entry-reblog' : 'entry-status' }
  - if status.reblog?
    .pre-header
      %i.fa.fa-retweet
      Shared by
      = link_to display_name(status.account), profile_url(status.account), class: 'name'
  .entry-container
    .avatar
      = image_tag status.reblog? ? status.reblog.account.avatar.url(:small) : status.account.avatar.url(:small)
    .container
      .header
        = render partial: 'status_header', locals: { status: status.reblog? ? status.reblog : status }
      .content
        = status.content
      .counters
        = render partial: 'status_footer', locals: { status: status.reblog? ? status.reblog : status }