@extends('layouts.app',['title' => $user->username . " posted a photo: " . $status->likes_count . " likes, " . $status->comments_count . " comments" ]) @section('content')
@if($status->is_nsfw && $status->media_count == 1)

NSFW / Hidden Image

@elseif(!$status->is_nsfw && $status->media_count == 1)
@elseif($status->is_nsfw && $status->media_count > 1) @elseif(!$status->is_nsfw && $status->media_count > 1) @endif

{{$status->profile->username}} {!! $status->rendered ?? e($status->caption) !!}

@foreach($status->comments->reverse()->take(10) as $item)

{{$item->profile->username}} {!! $item->rendered ?? e($item->caption) !!} {{$item->created_at->diffForHumans(null, true, true ,true)}}

@endforeach
@if(Auth::check()) @if(Auth::user()->profile->id === $status->profile->id || Auth::user()->is_admin == true)
@csrf
@endif @endif
@csrf
@endsection @push('meta') @endpush