|
|
|
@ -61,7 +61,7 @@ module StreamEntriesHelper
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def account_description(account)
|
|
|
|
|
prepend_str = [
|
|
|
|
|
prepend_stats = [
|
|
|
|
|
[
|
|
|
|
|
number_to_human(account.statuses_count, strip_insignificant_zeros: true),
|
|
|
|
|
I18n.t('accounts.posts', count: account.statuses_count),
|
|
|
|
@ -71,14 +71,16 @@ module StreamEntriesHelper
|
|
|
|
|
number_to_human(account.following_count, strip_insignificant_zeros: true),
|
|
|
|
|
I18n.t('accounts.following', count: account.following_count),
|
|
|
|
|
].join(' '),
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
[
|
|
|
|
|
unless Setting.hide_followers_count
|
|
|
|
|
prepend_stats << [
|
|
|
|
|
number_to_human(account.followers_count, strip_insignificant_zeros: true),
|
|
|
|
|
I18n.t('accounts.followers', count: account.followers_count),
|
|
|
|
|
].join(' '),
|
|
|
|
|
].join(', ')
|
|
|
|
|
].join(' ')
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
[prepend_str, account.note].join(' · ')
|
|
|
|
|
[prepend_stats.join(', '), account.note].join(' · ')
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def media_summary(status)
|
|
|
|
|