You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
645 B

  1. %tr
  2. %td
  3. = admin_account_link_to(account)
  4. %td
  5. %div{ style: 'margin: -2px 0' }= account_badge(account, all: true)
  6. %td
  7. - if account.user_current_sign_in_ip
  8. %samp= account.user_current_sign_in_ip
  9. - else
  10. \-
  11. %td
  12. - if account.user_current_sign_in_at
  13. %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
  14. - else
  15. \-
  16. %td
  17. = table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}")
  18. = table_link_to 'globe', t('admin.accounts.public'), TagManager.instance.url_for(account)