mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-23 18:08:06 +01:00
11a91592aa
Fixes #9431
18 lines
645 B
Text
18 lines
645 B
Text
%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
|
|
\-
|
|
%td
|
|
= table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}")
|
|
= table_link_to 'globe', t('admin.accounts.public'), TagManager.instance.url_for(account)
|