{{ __('Dashboard') }}
@trans_db('query_limit_message', 'dashboard', 'Ai atins limita de query-uri DNS pentru luna aceasta. Toate operațiunile DNS sunt temporar dezactivate.')
@trans_db('near_limit_message', 'dashboard', 'Ai consumat din limita ta de query-uri DNS. Consideră un upgrade pentru a evita întreruperi.')
{{ Auth::user()->resellerPlan?->description ?? 'Pachet Reseller' }}
{{ number_format(Auth::user()->resellerPlan->price, 2) }} RON
/ lună
@else{{ __('Free Plan') }}
@endif{{ Auth::user()->plan?->description ?? '' }}
{{ number_format(Auth::user()->plan->price, 2) }} RON
/ lună
@else{{ __('Free Plan') }}
@endif@php // Numără zonele locale $localZonesCollection = Auth::user()->dnsZones()->get(); $localZones = $localZonesCollection->count(); // Numără zonele PowerDNS atribuite care NU există deja local $assignments = \App\Models\DnsZoneAssignment::where('user_id', Auth::id())->get(); $uniquePowerDnsZones = 0; foreach ($assignments as $assignment) { $existsLocally = $localZonesCollection->where('domain', rtrim($assignment->zone_name, '.'))->first(); if (!$existsLocally) { $uniquePowerDnsZones++; } } $totalZones = $localZones + $uniquePowerDnsZones; @endphp @if(Auth::user()->role === 'admin') {{ $totalZones }} / ∞ @elseif(Auth::user()->role === 'reseller') {{ $totalZones }} / {{ Auth::user()->resellerPlan?->dns_zones_per_client ?? 'N/A' }} @else {{ $totalZones }} / {{ Auth::user()->plan?->dns_zones_limit ?? 0 }} @endif
Unlimited
@endif@php $recordsCount = Auth::user()->getTotalRecordsCount(); @endphp @if(Auth::user()->role === 'admin') {{ $recordsCount }} / ∞ @elseif(Auth::user()->role === 'reseller') {{ $recordsCount }} / {{ Auth::user()->resellerPlan?->subdomains_per_client ?? 'N/A' }} @else {{ $recordsCount }} / {{ Auth::user()->plan?->subdomains_limit ?? 0 }} @endif
Unlimited
@endif{{ $hostname }}
@endforeach@trans_db('no_nameservers', 'dashboard', 'Nu există nameservere alocate')
@endif@trans_db('create_new_zone', 'dashboard', 'Creează zonă DNS nouă')
Limită atinsă
Zonele DNS locale
{{ $zone->type }} • {{ $zone->records_count }} înregistrări
{{ $zone->type }} • {{ $zone->records()->count() }} înregistrări
{{ __('No records found') }}
@if(Auth::user()->canPerformDnsOperations()) {{ __('Add DNS Zone') }} @else @endif