ソースを参照

Use animation config for avatar in profile pages (#8614)

Fixes #7380.
master
Renato "Lond" Cerqueira 5年前
committed by Eugen Rochko
コミット
7607f4778b
1個のファイルの変更4行の追加1行の削除
  1. +4
    -1
      app/views/accounts/_header.html.haml

+ 4
- 1
app/views/accounts/_header.html.haml ファイルの表示

@@ -3,7 +3,10 @@
= image_tag account.header.url, class: 'parallax'
.public-account-header__bar
= link_to short_account_url(account), class: 'avatar' do
= image_tag account.avatar.url
- if current_account&.user&.setting_auto_play_gif
= image_tag account.avatar_original_url
- else
= image_tag account.avatar_static_url
.public-account-header__tabs
.public-account-header__tabs__name
%h1


読み込み中…
キャンセル
保存