1
0

_account.html.haml 1.2 KB

12345678910111213141516171819202122
  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.accounts-table__interrelationships
  9. = interrelationships_icon(@relationships, account.id)
  10. %td= account_link_to account
  11. %td.accounts-table__count.optional
  12. = number_to_human account.statuses_count, strip_insignificant_zeros: true
  13. %small= t('accounts.posts', count: account.statuses_count).downcase
  14. %td.accounts-table__count.optional
  15. = number_to_human account.followers_count, strip_insignificant_zeros: true
  16. %small= t('accounts.followers', count: account.followers_count).downcase
  17. %td.accounts-table__count
  18. - if account.last_status_at.present?
  19. %time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at
  20. - else
  21. \-
  22. %small= t('accounts.last_active')