1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-01 08:18:53 +09:00

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

This commit is contained in:
Ash Furrow 2017-04-23 22:15:10 +02:00 committed by Eugen
parent 072c6f1527
commit ef5937da1f

View File

@ -77,6 +77,7 @@
- else
= link_to t('admin.accounts.silence'), admin_account_silence_path(@account.id), method: :post, class: 'button'
- if @account.local?
- unless @account.user.confirmed?
= link_to t('admin.accounts.confirm'), admin_account_confirmation_path(@account.id), method: :post, class: 'button'