@extends('layouts.admin') @section('title', 'Profile — Admin') @section('heading', 'Profile · '.$profile->user->name) @section('content')
Published snapshot@if($profile->published_at)v{{ $profile->published_version }} · {{ $profile->published_at->format('j M Y H:i') }}@endif
@if ($profile->published_snapshot)

What the public sees. {{ count($profile->published_snapshot['sections'] ?? []) }} sections.

@else

Never published.

@endif
@if ($reports->isNotEmpty()) @endif
Moderation{{ $profile->status->label() }}
@csrf
@if ($profile->admin_locked_at)
Locked {{ $profile->admin_locked_at->format('j M Y') }}. {{ $profile->admin_lock_reason }}
@csrf
@elseif ($profile->isPublished()) @include('admin.partials-reason', ['action' => route('admin.profiles.unpublish', $profile), 'confirm' => 'Unpublish and lock this profile?', 'button' => 'Unpublish']) @endif Open user
@endsection