diff options
author | Ash Furrow <ash@ashfurrow.com> | 2017-04-23 04:43:42 +0200 |
---|---|---|
committer | Eugen <eugen@zeonfederated.com> | 2017-04-23 04:43:42 +0200 |
commit | 723f25a9999251b0c3f45c57aa88afa83f315b2d (patch) | |
tree | 9b25ee6b6dd7519a95302bbab57149b3263e083d /app/views/admin/accounts/index.html.haml | |
parent | 59b1de0bcf39473106e5380c129d7436be1ad89a (diff) |
Admin UI for confirming users (#2245)
* Shows confirmed status in list. * Adds ability to confirm users in admin UI. * Added new english translations. * Addresses feedback from #2245. * More feedback.
Diffstat (limited to 'app/views/admin/accounts/index.html.haml')
-rw-r--r-- | app/views/admin/accounts/index.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml index bd1eb7ecd..c52b3ff74 100644 --- a/app/views/admin/accounts/index.html.haml +++ b/app/views/admin/accounts/index.html.haml @@ -25,6 +25,7 @@ %tr %th= t('admin.accounts.username') %th= t('admin.accounts.domain') + %th= t('admin.accounts.confirmed') %th= fa_icon 'paper-plane-o' %th %tbody @@ -36,6 +37,12 @@ = link_to account.domain, admin_accounts_path(by_domain: account.domain) %td - if account.local? + - if account.user.present? && account.user.confirmed? + %i.fa.fa-check + - else + %i.fa.fa-times + %td + - if account.local? = t('admin.accounts.location.local') - elsif account.subscribed? %i.fa.fa-check |