mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-20 14:17:48 +00:00
73faadad28
* Improve overview of accounts in admin UI - Display suspended status, role, last activity and IP prominently - Default to showing local accounts - Default to not showing suspended accounts * Remove unused strings * Fix tests * Allow filtering accounts by IP mask
16 lines
455 B
Plaintext
16 lines
455 B
Plaintext
%tr
|
|
%td
|
|
= admin_account_link_to(account)
|
|
%td
|
|
%div{ style: 'margin: -2px 0' }= account_badge(account, all: true)
|
|
%td
|
|
- if account.user_current_sign_in_ip
|
|
%samp= account.user_current_sign_in_ip
|
|
- else
|
|
\-
|
|
%td
|
|
- if account.user_current_sign_in_at
|
|
%time.time-ago{ datetime: account.user_current_sign_in_at.iso8601, title: l(account.user_current_sign_in_at) }= l account.user_current_sign_in_at
|
|
- else
|
|
\-
|