@if ($campaigns->count() > 0)
|
{{ $campaign->name }}
{{ trans('messages.' . $campaign->type) }}
@if ($campaign->readCache('SubscriberCount'))
{{ number_with_delimiter($campaign->readCache('SubscriberCount')) }} {{ trans('messages.recipients') }}
@endif
@if ($campaign->status != 'new' && isset($campaign->run_at))
{{ trans('messages.run_at') }}: alarm
{{ isset($campaign->run_at) ? Auth::user()->customer->formatDateTime($campaign->run_at, 'datetime_full') : "" }}
@else
{{ trans('messages.updated_at') }}: {{ Auth::user()->customer->formatDateTime($campaign->created_at, 'datetime_full') }}
@endif
|
@if ($campaign->status != 'new')
{{ $campaign->isSending() ? number_to_percentage($campaign->deliveredRate(true)) : number_to_percentage($campaign->readCache('DeliveredRate')) }}
{{ trans('messages.sent') }} |
{{ number_to_percentage($campaign->readCache('UniqOpenRate')) }}
|
{{ number_to_percentage($campaign->readCache('ClickedRate')) }}
|
@else
@endif | {{ trans('messages.campaign_status_' . $campaign->status) }} |
@if (\Gate::allows('update', $campaign))
edit {{ trans('messages.edit') }}
@endif
@if (\Gate::allows('overview', $campaign))
{{ trans('messages.campaign.overview_statistics') }}
@endif
@if (\Gate::allows('delete', $campaign) || \Gate::allows('pause', $campaign) || \Gate::allows('restart', $campaign))
|