@extends('admin.layout') @section('content')
{{ __('All Subdomains') }}
@if (!empty(request()->input('type'))) @endif
@if (count($subdomains) == 0)

{{ __('NO SUBDOMAIN FOUND') }}

@else
@foreach ($subdomains as $subdomain) {{-- --}} @endforeach
{{ __('Username') }} {{ __('Website Name') }} {{ __('Subdomain') }} {{ __('Current Subdomain') }} {{ __('Status') }} {{ __('Action') }}
{{ $subdomain->user->username }} {{ $subdomain->website->website_name }} {{ strtolower($subdomain->requested_subdomain) }}.{{ env('WEBSITE_HOST') }} {{ $subdomain->current_subdomain }}.{{ env('WEBSITE_HOST') }} {{ is_null($subdomain->current_subdomain) || $subdomain->current_subdomain == 0 ? '-' : $subdomain->current_subdomain . '.' . env('WEBSITE_HOST') }}
@csrf
@endif
@endsection