@ -16,15 +16,15 @@
- if @account.local?
- if @account.local?
%tr
%tr
%th= t('admin.accounts.email')
%th= t('admin.accounts.email')
%td= @account.user. email
%td= @account.user_ email
%tr
%tr
%th= t('admin.accounts.most_recent_ip')
%th= t('admin.accounts.most_recent_ip')
%td= @account.user. current_sign_in_ip
%td= @account.user_ current_sign_in_ip
%tr
%tr
%th= t('admin.accounts.most_recent_activity')
%th= t('admin.accounts.most_recent_activity')
%td
%td
- if @account.user. current_sign_in_at
- if @account.user_ current_sign_in_at
= l @account.user. current_sign_in_at
= l @account.user_ current_sign_in_at
- else
- else
Never
Never
- else
- else
@ -78,7 +78,7 @@
= link_to t('admin.accounts.silence'), admin_account_silence_path(@account.id), method: :post, class: 'button'
= link_to t('admin.accounts.silence'), admin_account_silence_path(@account.id), method: :post, class: 'button'
- if @account.local?
- if @account.local?
- unless @account.user. confirmed?
- unless @account.user_ confirmed?
= link_to t('admin.accounts.confirm'), admin_account_confirmation_path(@account.id), method: :post, class: 'button'
= link_to t('admin.accounts.confirm'), admin_account_confirmation_path(@account.id), method: :post, class: 'button'
- if @account.suspended?
- if @account.suspended?