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.

23 lines
742 B

  1. %tr
  2. %td.username
  3. = account.username
  4. %td.domain
  5. - unless account.local?
  6. = link_to account.domain, admin_accounts_path(by_domain: account.domain)
  7. %td.confirmed
  8. - if account.local?
  9. - if account.user_confirmed?
  10. %i.fa.fa-check
  11. - else
  12. %i.fa.fa-times
  13. %td.subscribed
  14. - if account.local?
  15. = t('admin.accounts.location.local')
  16. - elsif account.subscribed?
  17. %i.fa.fa-check
  18. - else
  19. %i.fa.fa-times
  20. %td
  21. = table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}")
  22. = table_link_to 'globe', t('admin.accounts.public'), TagManager.instance.url_for(account)
  23. = table_link_to 'pencil', t('admin.accounts.edit'), admin_account_path(account.id)