mirror of https://github.com/mastodon/mastodon
Adding avatars to profile page and statuses
parent
2c70f0ecaa
commit
5ae54f9e36
Binary file not shown.
After Width: | Height: | Size: 3.8 KiB |
@ -1,8 +1,10 @@
|
|||||||
%div.card
|
.card
|
||||||
%h1.name
|
.avatar= image_tag @account.avatar.url(:medium)
|
||||||
= @account.display_name.blank? ? @account.username : @account.display_name
|
.bio
|
||||||
%small= "@#{@account.username}"
|
%h1.name
|
||||||
|
= @account.display_name.blank? ? @account.username : @account.display_name
|
||||||
|
%small= "@#{@account.username}"
|
||||||
|
|
||||||
%div.activity-stream
|
.activity-stream
|
||||||
- @account.statuses.order('id desc').each do |status|
|
- @account.statuses.order('id desc').each do |status|
|
||||||
= render partial: 'status', locals: { status: status }
|
= render partial: 'status', locals: { status: status }
|
||||||
|
Loading…
Reference in New Issue