about summary refs log tree commit diff
path: root/app/views/admin/accounts/_account.html.haml
blob: 0fadaae1e71b7ca53309c876ad81329c9c448aae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%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
      \-