@if (auth('admin')->user()->hasPermission('vpn_locations.manage')) Add location @endif @if ($locations->isEmpty()) @if (auth('admin')->user()->hasPermission('vpn_locations.manage')) Add location @endif @else
@foreach ($locations as $location) @endforeach
Location Code Servers Status Actions

{{ $location->display_name }}

{{ $location->city }}, {{ $location->country }}

{{ $location->country_code }} {{ $location->servers_count }} ({{ $location->onlineServerCount() }} online) {{ $location->is_active ? 'Active' : 'Inactive' }} @if (auth('admin')->user()->hasPermission('vpn_locations.manage'))
Edit
@csrf @method('DELETE') Delete
@endif
@if ($locations->hasPages())
{{ $locations->links() }}
@endif @endif