Fixes problem with showing non-local accounts. (#2371)

main
Ash Furrow 8 years ago committed by Eugen
parent 072c6f1527
commit ef5937da1f

@ -77,6 +77,7 @@
- else - else
= 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?
- 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'

Loading…
Cancel
Save