@extends('socialite::layouts.default') @section('content')
@include('socialite::partials.event-header', compact('timeline','event'))
@include('socialite::partials.event-leftbar', compact('timeline','event'))
@if($timeline->type == "event") @if(($event->is_eventadmin(Auth::user()->id, $event->id) && $event->timeline_post_privacy == 'only_admins') || ($event->timeline_post_privacy == 'only_guests' && Auth::user()->get_eventuser($event->id))) @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