diff --git a/resources/views/profile/show.blade.php b/resources/views/profile/show.blade.php index c2206387a..d1115ffee 100644 --- a/resources/views/profile/show.blade.php +++ b/resources/views/profile/show.blade.php @@ -2,134 +2,59 @@ @section('content') -
- -
-
-
- -
-
-
-
-
- {{$user->username}} - @if($owner == true) - - - - @elseif ($following == true) - - - - @elseif ($following == false) - - - - @endif - {{-- TODO: Implement action dropdown - - - --}} -
-
-
- {{$user->statuses()->whereNull('in_reply_to_id')->count()}} - Posts -
- - -
-

- {{$user->name}} - @if($user->remote_url) - REMOTE PROFILE - @endif - {{$user->bio}} -

-
-
-
+@include('profile.partial.user-info') +@if($owner == true) +
+ +
+@endif +
- @if($owner == true) -
- -
- @endif - @if($owner && request()->is('*/saved'))

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

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

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

-
+
+
+
+
+

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

+
@endif
-
@endsection