mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 19:13:13 +01:00
42d2a915e4
* Return last_status_at as date, not datetime * Fix relative timestamp for dates when delay is inferior to 1 day * Also fix public directory * Fix error when last_status_at isn't set
20 lines
1.1 KiB
Text
20 lines
1.1 KiB
Text
.batch-table__row
|
|
%label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
|
|
= f.check_box :account_ids, { multiple: true, include_hidden: false }, account.id
|
|
.batch-table__row__content.batch-table__row__content--unpadded
|
|
%table.accounts-table
|
|
%tbody
|
|
%tr
|
|
%td= account_link_to account
|
|
%td.accounts-table__count.optional
|
|
= number_to_human account.statuses_count, strip_insignificant_zeros: true
|
|
%small= t('accounts.posts', count: account.statuses_count).downcase
|
|
%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
|
|
- if account.last_status_at.present?
|
|
%time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at
|
|
- else
|
|
\-
|
|
%small= t('accounts.last_active')
|