mirror of https://github.com/Siphonay/mastodon
Do not display "reset password" in admin UI for remote accounts (#1960)
This commit is contained in:
parent
8ebed7fc68
commit
1955a3f444
|
@ -61,7 +61,8 @@
|
||||||
= surround '(', ')' do
|
= surround '(', ')' do
|
||||||
= number_to_human_size @account.media_attachments.sum('file_file_size')
|
= number_to_human_size @account.media_attachments.sum('file_file_size')
|
||||||
|
|
||||||
%div{ style: 'float: right' }
|
- if @account.local?
|
||||||
|
%div{ style: 'float: right' }
|
||||||
= link_to t('admin.accounts.reset_password'), admin_account_reset_path(@account.id), method: :create, class: 'button'
|
= link_to t('admin.accounts.reset_password'), admin_account_reset_path(@account.id), method: :create, class: 'button'
|
||||||
|
|
||||||
%div{ style: 'float: left' }
|
%div{ style: 'float: left' }
|
||||||
|
|
Loading…
Reference in New Issue