From 5af281b0578c0752a1d08ebd697719387aee7e6e Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 10 Dec 2019 01:26:00 -0600 Subject: add synchronize button to account manager --- app/views/admin/accounts/show.html.haml | 1 + 1 file changed, 1 insertion(+) (limited to 'app/views') 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/ -- cgit