The code powering m.abunchtell.com https://m.abunchtell.com
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

44 рядки
2.2 KiB

  1. .public-account-header
  2. .public-account-header__image
  3. = image_tag account.header.url, class: 'parallax'
  4. .public-account-header__bar
  5. = link_to short_account_url(account), class: 'avatar' do
  6. = image_tag account.avatar.url
  7. .public-account-header__tabs
  8. .public-account-header__tabs__name
  9. %h1
  10. = display_name(account, custom_emojify: true)
  11. %small
  12. = acct(account)
  13. = fa_icon('lock') if account.locked?
  14. .public-account-header__tabs__tabs
  15. .details-counters
  16. .counter{ class: active_nav_class(short_account_url(account)) }
  17. = link_to short_account_url(account), class: 'u-url u-uid', title: number_with_delimiter(account.statuses_count) do
  18. %span.counter-number= number_to_human account.statuses_count, strip_insignificant_zeros: true
  19. %span.counter-label= t('accounts.posts')
  20. .counter{ class: active_nav_class(account_following_index_url(account)) }
  21. = link_to account_following_index_url(account), title: number_with_delimiter(account.following_count) do
  22. %span.counter-number= number_to_human account.following_count, strip_insignificant_zeros: true
  23. %span.counter-label= t('accounts.following')
  24. .counter{ class: active_nav_class(account_followers_url(account)) }
  25. = link_to account_followers_url(account), title: number_with_delimiter(account.followers_count) do
  26. %span.counter-number= number_to_human account.followers_count, strip_insignificant_zeros: true
  27. %span.counter-label= t('accounts.followers')
  28. .spacer
  29. .public-account-header__tabs__tabs__buttons
  30. = account_action_button(account)
  31. .public-account-header__extra
  32. = render 'accounts/bio', account: account
  33. .public-account-header__extra__links
  34. = link_to account_following_index_url(account) do
  35. %strong= number_to_human account.following_count, strip_insignificant_zeros: true
  36. = t('accounts.following')
  37. = link_to account_followers_url(account) do
  38. %strong= number_to_human account.followers_count, strip_insignificant_zeros: true
  39. = t('accounts.followers')