@if ($automations->count() > 0) @foreach ($automations as $key => $automation) @endforeach
{{ $automation->name }}
{{ $automation->getBriefIntro() }}
{{ $automation->mailList->readCache('SubscriberCount', '#') }}
{{ trans('messages.automation.overview.contacts') }}
{{ $automation->countEmails() }}
{{ trans('messages.emails') }}
{{ $automation->readCache('SummaryStats') ? number_to_percentage($automation->readCache('SummaryStats')['complete']) : '#' }}
{{ trans('messages.complete') }}
{{ $automation->updated_at->diffForHumans(['options' => 2]) }}
{{ trans('messages.automation.action.last_updated') }}
@if (empty($automation->last_error)) {{ trans('messages.automation.status.' . $automation->status) }} @else Error
{{ $automation->last_error }}
@endif
@if (\Gate::allows('update', $automation)) multiline_chart {{ trans('messages.automation.design') }} @endif @if (\Gate::allows('delete', $automation) || Auth::user()->can('disable', $automation) || Auth::user()->can('enable', $automation)) @endif
@include('elements/_per_page_select', ["items" => $automations]) @elseif (!empty(request()->keyword))
schedule {{ trans('messages.no_search_result') }}
@else
schedule {{ trans('messages.automation_empty_line_1') }}
@endif