@if(count($recent) == 0) {{ __('No data') }}. @else
@foreach($recent as $pageview)
@if(!empty(explode(':', $pageview->country)[1])) {{ explode(':', $pageview->country)[1] }} @else {{ __('Unknown') }} @endif
@if(!empty(explode(':', $pageview->city)[1])) {{ explode(':', $pageview->city)[1] }} @else {{ __('Unknown') }} @endif
@if($pageview->browser) {{ $pageview->browser }} @else {{ __('Unknown') }} @endif
@if($pageview->os) {{ $pageview->os }} @else {{ __('Unknown') }} @endif
@if($pageview->referrer) @else @endif
@if($pageview->referrer)
{{ $pageview->referrer }}
@else {{ __('Direct, Email, SMS') }} @endif
{{ $pageview->created_at->diffForHumans(['options' => \Carbon\Carbon::JUST_NOW]) }}
{{ $pageview->created_at->format(__('Y-m-d')) }}
@endforeach
@endif