@section('site_title', formatTitle([$link->alias, __('Operating systems'), __('Stats'), config('settings.title')])) @if($link->user->can('stats', ['App\Models\Link']) || (Auth::check() && Auth::user()->role == 1))
{{ __('Operating systems') }}
@include('stats.filters', ['name' => __('Name'), 'count' => __('Clicks')])
@if(count($operatingSystems) == 0) {{ __('No data') }}. @else
{{ __('Name') }}
{{ __('Clicks') }}
{{ __('Total') }}
{{ number_format($total->count, 0, __('.'), __(',')) }}
{{ number_format((($total->count / $total->count) * 100), 1, __('.'), __(',')) }} %
@foreach($operatingSystems as $operatingSystem)
{{ $operatingSystem->value ?? __('Unknown') }}
@if($operatingSystem->value) {{ $operatingSystem->value }} @else {{ __('Unknown') }} @endif
{{ number_format($operatingSystem->count, 0, __('.'), __(',')) }}
{{ number_format((($operatingSystem->count / $total->count) * 100), 1, __('.'), __(',')) }} %
@endforeach
{{ __('Showing :from-:to of :total', ['from' => $operatingSystems->firstItem(), 'to' => $operatingSystems->lastItem(), 'total' => $operatingSystems->total()]) }}
{{ $operatingSystems->onEachSide(1)->links() }}
@endif
@else
@if(paymentProcessors()) @if(Auth::check() && $link->user->id == Auth::user()->id) @include('shared.features.locked') @else @include('shared.features.unavailable') @endif @else @include('shared.features.unavailable') @endif
@endif