@extends('users.show.layout') @section('user_content')
{{--@if(Auth::check() && (($user->timeline_post_privacy == "only_admins" && $user->is_admin(Auth::user()->id)) || ($user->timeline_post_privacy == "everyone")))--}} @include('socialite::partials.create-post',compact('timeline','user_post')) {{--@endif--}}
@forelse($posts as $post) @include('socialite::partials.post',compact('post','timeline','next_page_url','user')) @empty
{{ trans('users.no_posts') }}
@endforelse
@include('users.show.partials.right')
@endsection