diff --git a/resources/views/settings/imports/index.blade.php b/resources/views/settings/imports/index.blade.php index a094ee78d91..6d743ae7dc4 100644 --- a/resources/views/settings/imports/index.blade.php +++ b/resources/views/settings/imports/index.blade.php @@ -57,17 +57,18 @@ {{ \App\Helpers\DateHelper::getShortDateWithTime($importJob->created_at) }}
+ @if (is_null($importJob->ended_at)) + {{ trans('settings.import_in_progress') }} + @endif @if($importJob->failed_reason) {{ $importJob->failed_reason }} @elseif (! is_null($importJob->ended_at)) - {{ trans_choice('settings.import_result_stat', $importJob->contacts_found, ['total_contacts' => $importJob->contacts_found, 'total_imported' => $importJob->contacts_imported, 'total_skipped' => $importJob->contacts_skipped]) }} + {{ trans_choice('settings.import_result_stat', $importJob->contacts_found, ['total_contacts' => $importJob->contacts_found, 'total_imported' => $importJob->contacts_imported, 'total_skipped' => $importJob->contacts_skipped]) }} @endif
@if (! is_null($importJob->ended_at)) - {{ trans('settings.import_view_report') }} - @else - {{ trans('settings.import_in_progress') }} + {{ trans('settings.import_view_report') }} @endif