_account.html.haml 1.0 KB

1234567891011121314151617181920
  1. .batch-table__row
  2. %label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
  3. = f.check_box :account_ids, { multiple: true, include_hidden: false }, account.id
  4. .batch-table__row__content.batch-table__row__content--unpadded
  5. %table.accounts-table
  6. %tbody
  7. %tr
  8. %td= account_link_to account
  9. %td.accounts-table__count.optional
  10. = friendly_number_to_human account.statuses_count
  11. %small= t('accounts.posts', count: account.statuses_count).downcase
  12. %td.accounts-table__count.optional
  13. = friendly_number_to_human account.followers_count
  14. %small= t('accounts.followers', count: account.followers_count).downcase
  15. %td.accounts-table__count
  16. - if account.last_status_at.present?
  17. %time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at
  18. - else
  19. \-
  20. %small= t('accounts.last_active')