diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index 56c7bd58..7f711f24 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -18,12 +18,13 @@
@if($status->is_nsfw && $status->media_count == 1)
-

-

NSFW / Hidden Image - - - -

+ +

CW / NSFW / Hidden Media

+

(click to show)

+
+ + +
@elseif(!$status->is_nsfw && $status->media_count == 1)
@@ -68,19 +69,43 @@ {{$user->username}}
+
+ +

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

+

View all comments

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

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

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

@endforeach
@@ -88,32 +113,30 @@
-

- @if(Auth::check()) - @if(Auth::user()->profile->id === $status->profile->id || Auth::user()->is_admin == true) -
+ @csrf - -
- @endif + @endif -
+ @csrf
@@ -132,7 +155,8 @@
@csrf - + +
@@ -144,5 +168,5 @@ @push('meta') - + @endpush