@extends('socialite::layouts.default') @section('content')
@include('socialite::partials.page-header', compact('timeline','page'))
@include('socialite::partials.page-leftbar', compact('timeline','page','page_members'))
@if($timeline->type == "page") @if(($page->timeline_post_privacy == "only_admins" && $page->is_admin(Auth::user()->id)) || ($page->timeline_post_privacy == "everyone")) @include('socialite::partials.create-post', compact('timeline','user_post')) @elseif($page->timeline_post_privacy == "everyone") @include('socialite::partials.create-post', compact('timeline','user_post')) @endif @endif
@if($posts->count() > 0) @foreach($posts as $post) @include('socialite::partials.post', compact('post','timeline','next_page_url')) @endforeach @else

{{ trans('socialite::common.posts') }}

{{ trans('socialite::messages.no_posts') }}
@endif
@include('socialite::partials.timeline-rightbar')
@endsection