Skip to content

Commit

Permalink
Fixes problem with showing non-local accounts. (mastodon#2371)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow authored and Gargron committed Apr 23, 2017
1 parent 072c6f1 commit ef5937d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/views/admin/accounts/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,9 @@
- else
= link_to t('admin.accounts.silence'), admin_account_silence_path(@account.id), method: :post, class: 'button'

- unless @account.user.confirmed?
= link_to t('admin.accounts.confirm'), admin_account_confirmation_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'

- if @account.suspended?
= link_to t('admin.accounts.undo_suspension'), admin_account_suspension_path(@account.id), method: :delete, class: 'button'
Expand Down

0 comments on commit ef5937d

Please sign in to comment.