2017-05-02 18:56:28 +00:00
|
|
|
%tr
|
2018-06-04 11:09:36 +00:00
|
|
|
%td
|
2018-11-26 14:53:27 +00:00
|
|
|
= admin_account_link_to(account)
|
2017-12-13 11:15:10 +00:00
|
|
|
%td
|
2018-11-26 14:53:27 +00:00
|
|
|
%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
|
2017-05-02 18:56:28 +00:00
|
|
|
- else
|
2018-11-26 14:53:27 +00:00
|
|
|
\-
|
2017-05-02 18:56:28 +00:00
|
|
|
%td
|
2018-11-26 14:53:27 +00:00
|
|
|
- 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
|
|
|
|
\-
|
2018-12-14 00:47:50 +00:00
|
|
|
%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)
|