From 147e6395ea905c048cc3ffa8c0394483b0d5066f Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 29 May 2018 20:32:46 -0600 Subject: [PATCH] Update status template --- resources/views/status/template.blade.php | 70 +++++++++++++++++------ 1 file changed, 52 insertions(+), 18 deletions(-) diff --git a/resources/views/status/template.blade.php b/resources/views/status/template.blade.php index 7e6914d48..401692c8c 100644 --- a/resources/views/status/template.blade.php +++ b/resources/views/status/template.blade.php @@ -1,43 +1,77 @@ -
+
- + + +
- + - +
-

+

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

-
-
-

{{$item->created_at->diffForHumans()}}

+ @if($item->comments()->count() > 3) + + @endif +
+ @if(isset($showSingleComment) && $showSingleComment === true) +

+ {{$status->profile->username}} + {!!$status->rendered!!}{{$status->created_at->diffForHumans(null, true, true, true)}} +

+ @else + @foreach($item->comments->reverse()->take(3) as $comment) +

+ {{$comment->profile->username}} + {{ str_limit($comment->caption, 125) }} +

+ @endforeach + @endif +
+
\ No newline at end of file