diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-10 01:26:00 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-10 02:36:38 -0600 |
commit | 5af281b0578c0752a1d08ebd697719387aee7e6e (patch) | |
tree | 661ca8f023c09cd7435bf2ee1e457e336a2fa961 /app/views/admin/accounts | |
parent | 882d089dd0d863ac6ca81b75b78472683b533420 (diff) |
add synchronize button to account manager
Diffstat (limited to 'app/views/admin/accounts')
-rw-r--r-- | app/views/admin/accounts/show.html.haml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/admin/accounts/show.html.haml b/app/views/admin/accounts/show.html.haml index f89b72422..a6e9d4446 100644 --- a/app/views/admin/accounts/show.html.haml +++ b/app/views/admin/accounts/show.html.haml @@ -191,6 +191,7 @@ = link_to t('admin.accounts.memorialize'), memorialize_admin_account_path(@account.id), method: :post, data: { confirm: t('admin.accounts.are_you_sure') }, class: 'button button--destructive' if can?(:memorialize, @account) - else = link_to t('admin.accounts.redownload'), redownload_admin_account_path(@account.id), method: :post, class: 'button' if can?(:redownload, @account) + = link_to t('admin.accounts.sync'), sync_admin_account_path(@account.id), method: :post, class: 'button' if can?(:sync, @account) %hr.spacer/ |