@php
$cards = [
[
'key' => 'flows',
'label' => __('Flows'),
'icon' => 'rectangle-stack',
'stats' => $this->flowStats,
'route' => route('super-admin.defaults.flows'),
],
[
'key' => 'macros',
'label' => __('Macros'),
'icon' => 'bolt',
'stats' => $this->macroStats,
'route' => route('super-admin.defaults.macros'),
],
[
'key' => 'automations',
'label' => __('Automations'),
'icon' => 'play',
'stats' => $this->automationStats,
'route' => route('super-admin.defaults.automations'),
],
[
'key' => 'widgets',
'label' => __('Dashboard widgets'),
'icon' => 'view-columns',
'stats' => $this->widgetStats,
'route' => route('super-admin.defaults.widgets'),
],
];
@endphp
@foreach ($cards as $card)
{{ $card['label'] }}
{{ $card['stats']['enabled'] }}
/ {{ $card['stats']['total'] }} {{ __('enabled') }}
{{ __('Manage') }}
@endforeach
{{ __('Provisioning failures') }}
{{ __('Accounts whose provisioning job exhausted its retries. Retry from the failures page to recover.') }}
{{ __('View') }}
@if ($this->failedProvisioningCount > 0)
{{ trans_choice('1 failure|:n failures', $this->failedProvisioningCount, ['n' => $this->failedProvisioningCount]) }}
@else
{{ __('All clear') }}
@endif
{{ __('Status as of now.') }}