@extends('core/base::layouts.master') @section('content')
{{ trans('plugins/url-shortener::url-shortener.edit', ['name' => $shortUrl->short_url]) }}

{{ trans('plugins/url-shortener::analytics.created_at', ['date' => $creationDate]) }}

{{ trans('plugins/url-shortener::analytics.click.clicks') }}

{{ $clicks }}

{{ trans('plugins/url-shortener::analytics.click.reals') }}

{{ $realClicks }}

{{ trans('plugins/url-shortener::analytics.click.today') }}

{{ $todayClicks }}
{{ trans('plugins/url-shortener::analytics.country.real') }}
@if (count($countriesRealViews) > 0)
@else

{{ trans('plugins/url-shortener::analytics.country.na') }}

@endif
{{ trans('plugins/url-shortener::analytics.country.views') }}
@if (count($countriesViews) > 0)
@else

{{ trans('plugins/url-shortener::analytics.country.na') }}

@endif
{{ trans('plugins/url-shortener::analytics.referer.referrers') }}

{{ trans('plugins/url-shortener::analytics.referer.list.results', [ 'firstItem' => $referrers->firstItem(), 'lastItem' => $referrers->lastItem(), 'num' => $referrers->total() ]) }}

@if ($referrers->count()) @foreach ($referrers as $referer) @endforeach
{{ trans('plugins/url-shortener::analytics.url.url') }} {{ trans('plugins/url-shortener::analytics.view.reals') }}
@if ($referer->referer == 'Direct / Unknown')

{{$referer->referer}}

@else

{{$referer->referer}}

@endif

{{$referer->total}}

@else

{{ trans('plugins/url-shortener::analytics.referer.na') }}

@endif
{{ $referrers->fragment('referrers-table')->links() }}
@endsection @push('footer') @endpush