@if ($post->before_path)
Before@endif
After
@if ($post->status === \App\Enums\UgcStatus::Pending)
@endif
{{ $post->status->label() }}
@can('view-customers'){{ $post->user?->name }}@else{{ $post->user?->name }}@endcan @if ($post->social_handle)· {{ '@'.$post->social_handle }}@endif
{{ $post->colour?->name ?? 'No colour' }}{{ $post->product ? ' · '.$post->product->name : '' }}{{ $post->challenge ? ' · '.$post->challenge->name : '' }} · {{ $post->created_at->diffForHumans() }}
@if ($post->caption)
“{{ $post->caption }}”
@endif @if ($post->rejection_reason)Rejected: {{ $post->rejection_reason }}
@endif @if ($post->moderator)by {{ $post->moderator->name }} · {{ $post->moderated_at?->format('j M, H:i') }}@endif @if ($post->votes_count){{ $post->votes_count }} {{ \Illuminate\Support\Str::plural('vote', $post->votes_count) }}@endif @if ($rejecting === $post->uuid) @else
@if (! $post->isPublic())@endif
@if ($post->status === \App\Enums\UgcStatus::Featured)
@elseif ($post->status !== \App\Enums\UgcStatus::Rejected)
@endif
@if ($post->status !== \App\Enums\UgcStatus::Rejected)@endif
@endif