@extends('layouts.admin') @section('title', $w->normalized_domain) @section('content')
Status
Client
{{ $w->client->business_name }}
URL
{{ $w->url }}
Plugin / WP / WC
{{ $w->plugin_version ?? '—' }} / {{ $w->wp_version ?? '—' }} / {{ $w->wc_version ?? '—' }}
Verified
{{ $w->verified_at?->format('d M Y H:i') ?? '—' }}
Last sync
{{ $w->last_sync_at?->diffForHumans() ?? '—' }}
@can_staff('websites.approve')

Actions

@csrf
@endcan_staff

Domain verification attempts

@forelse($verifications as $v)
{{ \Carbon\Carbon::parse($v->created_at)->format('d M H:i') }} · {{ $v->success ? 'passed' : 'failed' }} · {{ $v->detail }}
@emptyNone@endforelse

Connection history

@foreach($w->history->sortByDesc('id')->take(30) as $h)
{{ $h->created_at->format('d M H:i') }} · {{ str_replace('_', ' ', $h->event) }} · {{ $h->ip }}
@endforeach

API credentials (hashed – secrets never stored)

@foreach($creds as $c)
{{ $c->key_id }} · …{{ $c->secret_hint }} · {{ $c->revoked_at ? 'revoked ' . $c->revoked_at->format('d M') : 'active' }}
@endforeach
@endsection