|
|
@ -4,19 +4,20 @@ |
|
|
|
%time.time-ago{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at) |
|
|
|
%time.time-ago{ datetime: status.created_at.iso8601, title: l(status.created_at) }= l(status.created_at) |
|
|
|
%data.dt-published{ value: status.created_at.to_time.iso8601 } |
|
|
|
%data.dt-published{ value: status.created_at.to_time.iso8601 } |
|
|
|
|
|
|
|
|
|
|
|
= link_to TagManager.instance.url_for(status.account), class: 'status__display-name p-author h-card', target: stream_link_target, rel: 'noopener' do |
|
|
|
.p-author.h-card |
|
|
|
.status__avatar |
|
|
|
= link_to TagManager.instance.url_for(status.account), class: 'status__display-name u-url', target: stream_link_target, rel: 'noopener' do |
|
|
|
%div |
|
|
|
.status__avatar |
|
|
|
- if current_account&.user&.setting_auto_play_gif || autoplay |
|
|
|
%div |
|
|
|
= image_tag status.account.avatar_original_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar' |
|
|
|
- if current_account&.user&.setting_auto_play_gif || autoplay |
|
|
|
- else |
|
|
|
= image_tag status.account.avatar_original_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar' |
|
|
|
= image_tag status.account.avatar_static_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar' |
|
|
|
- else |
|
|
|
%span.display-name |
|
|
|
= image_tag status.account.avatar_static_url, width: 48, height: 48, alt: '', class: 'u-photo account__avatar' |
|
|
|
%bdi |
|
|
|
%span.display-name |
|
|
|
%strong.display-name__html.p-name.emojify= display_name(status.account, custom_emojify: true, autoplay: autoplay) |
|
|
|
%bdi |
|
|
|
%span.display-name__account |
|
|
|
%strong.display-name__html.p-name.emojify= display_name(status.account, custom_emojify: true, autoplay: autoplay) |
|
|
|
= acct(status.account) |
|
|
|
%span.display-name__account |
|
|
|
= fa_icon('lock') if status.account.locked? |
|
|
|
= acct(status.account) |
|
|
|
|
|
|
|
= fa_icon('lock') if status.account.locked? |
|
|
|
.status__content.emojify< |
|
|
|
.status__content.emojify< |
|
|
|
- if status.spoiler_text? |
|
|
|
- if status.spoiler_text? |
|
|
|
%p{ :style => ('margin-bottom: 0' unless current_account&.user&.setting_expand_spoilers) }< |
|
|
|
%p{ :style => ('margin-bottom: 0' unless current_account&.user&.setting_expand_spoilers) }< |
|
|
|