From 7ae21ab26b70e454548328e3400f631d1f40b855 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 29 May 2018 20:38:21 -0600 Subject: [PATCH] Add profile view --- resources/views/profile/show.blade.php | 98 ++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 resources/views/profile/show.blade.php diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php new file mode 100644 index 000000000..d540e85d1 --- /dev/null +++ b/resources/views/profile/show.blade.php @@ -0,0 +1,98 @@ +@extends('layouts.app') + +@section('content') + +
+ +
+
+
+ +
+
+
+
+
+ {{$user->username}} + @if($owner == true) + + Settings + + @elseif ($following == true) + + + + @elseif ($following == false) + + + + @endif + {{-- TODO: Implement action dropdown + + + --}} +
+
+
+ {{$user->statuses()->count()}} + Posts +
+ +
+ {{$user->followingCount(true)}} + Following +
+
+

+ {{$user->name}} +

+
+
+
+ +
+ @if($timeline->count() > 0) + @foreach($timeline as $status) +
+ + + +
+ @endforeach + @else +
+
+
+
+

{{ __('profile.emptyTimeline') }}

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