2016-02-26 20:11:52 +00:00
|
|
|
%div.entry{ class: status.reblog? ? 'entry-reblog' : 'entry-status' }
|
|
|
|
- if status.reblog?
|
|
|
|
.pre-header
|
|
|
|
%i.fa.fa-retweet
|
|
|
|
Shared by
|
2016-02-27 23:02:59 +00:00
|
|
|
= link_to display_name(status.account), profile_url(status.account), class: 'name'
|
2016-02-27 23:51:05 +00:00
|
|
|
.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 }
|