From 454ae2166c21c23dbc391c88fe6690fcfb1d7419 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 8 Nov 2018 22:29:28 -0700 Subject: [PATCH] Update status view --- resources/views/status/show.blade.php | 177 +++----------------------- 1 file changed, 15 insertions(+), 162 deletions(-) diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index a6068a9ae..512b62590 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -2,171 +2,24 @@ @section('content') -
-
-
- -
- @if($status->is_nsfw && $status->media_count == 1) -
- -

CW / NSFW / Hidden Media

-

(click to show)

-
- - - -
- @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 -
-
-
- -
- -
-
- {{$user->username}} -
-
-
- -
-
-
-
-
-

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

-

View all comments

-
- @foreach($replies as $item) -

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

- @endforeach -
-
-
-
-
- @if(Auth::check()) -
- @csrf - - -
-

- - - @endif - -
- @csrf - - -
-
-
- - -
-
- -
-
-
-
@endsection @push('meta') - - - @endpush + + + +@endpush + +@push('scripts') + +@endpush