@php $canSubmitResults = auth('staff')->user()->hasPermission('results.submit'); $joined = $entries->count(); $fill = $tournament->total_slots > 0 ? min(100, round($joined / $tournament->total_slots * 100)) : 0; @endphp
@if ($canSubmitResults) Enter / view results @endif
{{ $joined }}/{{ $tournament->total_slots }} @if ($tournament->isFree()) Free entry @else {{ $tournament->entry_fee }} per team @endif @if ($tournament->min_players) {{ $tournament->min_players }} Cancelled and refunded if not met @else No minimum @endif {{ $tournament->prize_pool }}
@if (auth('staff')->user()->hasPermission('credentials.release')) @if ($tournament->credentials_released_at) {{ $tournament->credentials_released_at->format('d M, H:i') }} by {{ $tournament->credential?->releasedByStaff?->display_name ?? 'staff' }}.
{{ $tournament->credential?->room_id }} {{ $tournament->credential?->room_password }}
@elseif (! in_array($tournament->status, ['upcoming', 'ongoing'], true)) Room credentials can only be released for an upcoming or ongoing tournament. This one is {{ $tournament->status }}. @else
@if ($releaseError) {{ $releaseError }} @endif

Releasing closes joining, starts the match (even if the minimum isn't met) and notifies every joined player. It can only be done once.

Release to joined players
@endif
@endif

Joined teams

# Account Players (IGN / UID) Joined at @forelse ($entries as $index => $entry) {{ $index + 1 }} @if (auth('staff')->user()->hasPermission('users.view')) {{ $entry->user->username }} @else {{ $entry->user->username }} @endif
    @foreach ($entry->players->sortBy('slot_number') as $player)
  • {{ $player->in_game_name }} ({{ $player->uid ?? '—' }})
  • @endforeach
{{ $entry->created_at->format('d M, H:i') }} @empty @endforelse