|
|
|
@ -30,8 +30,7 @@
|
|
|
|
%button.button= t('admin.accounts.search')
|
|
|
|
%button.button= t('admin.accounts.search')
|
|
|
|
= link_to t('admin.accounts.reset'), admin_reports_path, class: 'button button--dangerous'
|
|
|
|
= link_to t('admin.accounts.reset'), admin_reports_path, class: 'button button--dangerous'
|
|
|
|
|
|
|
|
|
|
|
|
- @reports.group_by(&:target_account_id).each_value do |reports|
|
|
|
|
- @reports.group_by(&:target_account).each do |target_account, reports|
|
|
|
|
- target_account = reports.first.target_account
|
|
|
|
|
|
|
|
.report-card
|
|
|
|
.report-card
|
|
|
|
.report-card__profile
|
|
|
|
.report-card__profile
|
|
|
|
= account_link_to target_account, '', path: admin_account_path(target_account.id)
|
|
|
|
= account_link_to target_account, '', path: admin_account_path(target_account.id)
|
|
|
|
|