From 33ab1c987a523c497be37c2a6710948ff6f15090 Mon Sep 17 00:00:00 2001 From: Stasiek Michalski Date: Mon, 4 Jun 2018 23:55:28 +0200 Subject: [PATCH 1/2] Add required html to improve status view --- resources/views/status/show.blade.php | 103 +++++++++++++++----------- 1 file changed, 59 insertions(+), 44 deletions(-) diff --git a/resources/views/status/show.blade.php b/resources/views/status/show.blade.php index 3060f9ce2..1459ba245 100644 --- a/resources/views/status/show.blade.php +++ b/resources/views/status/show.blade.php @@ -5,11 +5,24 @@
+
-
+
-
-
-

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

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

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

+
+
+

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

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

+ {{$item->profile->username}} + {!!$item->rendered!!} {{$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 - -
- +
-