@extends("client.layouts.app") @section("title", __('client.hosting.subdomains.title')) @section("content") {{ $service->product?->name ?? __('client.services.title') }}

{{ __('client.hosting.subdomains.title') }}

{{ __('client.hosting.subdomains.subtitle') }}
{{ $policy['max'] < 0 ? $policy['used'].' / ∞' : $policy['used'].' / '.$policy['max'] }}
@if(empty($domains))
{{ __('client.hosting.subdomains.no_domains') }}
@else
{{ __('client.hosting.subdomains.create_title') }}
@if(! $policy['can_create'])
{{ __('client.hosting.subdomains.limit_reached') }} ({{ $policy['used'] }}/{{ $policy['max'] }})
@else
@csrf
.
{{ __('client.hosting.subdomains.ssl_hint') }}
@endif
{{ __('client.hosting.subdomains.title') }}
@if(empty($subdomains))
{{ __('client.hosting.subdomains.empty') }}
@else
@foreach($subdomains as $s) @endforeach
{{ __('client.hosting.subdomains.full_name') }}{{ __('client.hosting.subdomains.document_root') }}{{ __('client.hosting.subdomains.php') }}SSL{{ __('common.table.status') }}{{ __('common.table.actions') }}
{{ $s['full_name'] }} {{ $s['document_root'] ?: '—' }} @if($s['php_version'])PHP {{ $s['php_version'] }}@else—@endif @if($s['ssl']) SSL@else—@endif {{ $s['status'] ?: 'active' }}
@csrf
@endif
@endif @endsection