Browse Source

Per-user followers count display in profile directory

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
9e04b2e8a4
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      app/views/directories/index.html.haml

+ 3
- 4
app/views/directories/index.html.haml View File

@ -28,10 +28,9 @@
%td.accounts-table__count.optional
= number_to_human account.statuses_count, strip_insignificant_zeros: true
%small= t('accounts.posts', count: account.statuses_count).downcase
- unless Setting.hide_followers_count
%td.accounts-table__count.optional
= number_to_human account.followers_count, strip_insignificant_zeros: true
%small= t('accounts.followers', count: account.followers_count).downcase
%td.accounts-table__count.optional
= Setting.hide_followers_count ? '-' : (number_to_human account.followers_count, strip_insignificant_zeros: true)
%small= t('accounts.followers', count: account.followers_count).downcase
%td.accounts-table__count
- if account.last_status_at.present?
%time.time-ago{ datetime: account.last_status_at.iso8601, title: l(account.last_status_at) }= l account.last_status_at

Loading…
Cancel
Save