logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

_account.html.haml (664B)


  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
  8. - if account.local?
  9. - if account.user.nil?
  10. = t("admin.accounts.moderation.suspended")
  11. - else
  12. = t("admin.accounts.roles.#{account.user.role}")
  13. - else
  14. = account.protocol.humanize
  15. %td
  16. = table_link_to 'circle', t('admin.accounts.web'), web_path("accounts/#{account.id}")
  17. = table_link_to 'globe', t('admin.accounts.public'), TagManager.instance.url_for(account)
  18. = table_link_to 'pencil', t('admin.accounts.edit'), admin_account_path(account.id)