@if($event->type == 'public' && $event->isExpire($event->id))
@if(!$event->users->contains(Auth::user()->id))
@else
@if(!$event->is_eventadmin(Auth::user()->id, $event->id))
@endif
@endif
@endif
@if($event->is_eventadmin(Auth::user()->id, $event->id))
@endif