1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-23 02:58:34 +09:00
YuruToot/app/views/relationships/_account.html.haml

23 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-03-16 19:23:22 +09:00
.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.accounts-table__interrelationships
= interrelationships_icon(relationships, account.id)
2019-03-16 19:23:22 +09:00
%td= account_link_to account
%td.accounts-table__count.optional
= friendly_number_to_human account.statuses_count
2019-03-16 19:23:22 +09:00
%small= t('accounts.posts', count: account.statuses_count).downcase
%td.accounts-table__count.optional
= friendly_number_to_human account.followers_count
2019-03-16 19:23:22 +09:00
%small= t('accounts.followers', count: account.followers_count).downcase
%td.accounts-table__count
- if account.last_status_at.present?
2024-02-26 21:42:09 +09:00
%time.time-ago{ datetime: account.last_status_at.to_date.iso8601, title: l(account.last_status_at.to_date) }= l account.last_status_at.to_date
2019-03-16 19:23:22 +09:00
- else
\-
%small= t('accounts.last_active')