@extends('layouts.user_type.guest') @section('header_title', $room->title ?: __('Live stream')) @section('content')


@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif

{{ $room->title ?: __('Untitled live stream') }}

{{ $room->status_label }} {{ $room->visibility_label }} {{ $room->entry_fee_formatted }}
@if($isOwner && $room->is_active)
@csrf
@endif

{{ __('Messages') }}

@forelse($messages as $message)
{{ $message->user ? (trim($message->user->fname . ' ' . $message->user->lname) ?: $message->user->email) : __('Guest') }}
{{ $message->message }}
@if($message->file){{ __('View file') }}@endif
@empty
{{ __('No messages yet.') }}
@endforelse

{{ __('Participants') }}

@forelse($participants as $roomParticipant)
{{ $roomParticipant->user ? (trim($roomParticipant->user->fname . ' ' . $roomParticipant->user->lname) ?: $roomParticipant->user->email) : __('Guest') }}{{ $roomParticipant->role }}
@empty
{{ __('No participants yet.') }}
@endforelse
@endsection