mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-19 05:37:42 +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)
|