Skip to content

Commit

Permalink
fix: fix import table layout (#5662)
Browse files Browse the repository at this point in the history
  • Loading branch information
ribounette authored Oct 28, 2021
1 parent 9128db8 commit cd138c8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions resources/views/settings/imports/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,18 @@
<span class="date">{{ \App\Helpers\DateHelper::getShortDateWithTime($importJob->created_at) }}</span>
</div>
<div class="table-cell">
@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
</div>
<div class="table-cell">
@if (! is_null($importJob->ended_at))
<a href="{{ route('settings.report', $importJob) }}">{{ trans('settings.import_view_report') }}</a>
@else
{{ trans('settings.import_in_progress') }}
<a href="{{ route('settings.report', $importJob) }}">{{ trans('settings.import_view_report') }}</a>
@endif
</div>
</li>
Expand Down

0 comments on commit cd138c8

Please sign in to comment.