mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-07 16:33:24 +00:00
80c44ed9c1
for avatars/headers, resize avatars down to 120x120 instead of 300x300. Set cache headers on S3 stuff, also make it private (aka only accessible via expiring links to prevent hotlinking)
9 lines
334 B
Plaintext
9 lines
334 B
Plaintext
.account-grid-card
|
|
.account-grid-card__header
|
|
.avatar= image_tag account.avatar.expiring_url(3600, :original)
|
|
.name
|
|
= link_to TagManager.instance.url_for(account) do
|
|
%span.display_name= display_name(account)
|
|
%span.username= "@#{account.acct}"
|
|
%p.note= truncate(strip_tags(account.note), length: 150)
|