# | {{ __('gm_ban_appeals_page')['table_headers']['account'] }} | {{ __('gm_ban_appeals_page')['table_headers']['message'] }} | {{ __('gm_ban_appeals_page')['table_headers']['ban_date'] }} | {{ __('gm_ban_appeals_page')['table_headers']['by_reason'] }} | {{ __('gm_ban_appeals_page')['table_headers']['date'] }} | {{ __('gm_ban_appeals_page')['table_headers']['status'] }} | {{ __('gm_ban_appeals_page')['table_headers']['actions'] }} | ||
---|---|---|---|---|---|---|---|---|---|
{{ $banAppeal->id }} | {{ optional($banAppeal->account)->username }} | @forelse ($banAppeal->messages->take(-1) as $message)
{{ $message->created_at->format('H:i:s d/m/Y') }}
|
@empty
@endforelse
@if ($banAppeal->ban)
{{ $banAppeal->ban->unbandate == $banAppeal->ban->bandate ? __('gm_ban_appeals_page')['permanent'] : date('H:i:s d/m/y') }} |
{{ $banAppeal->ban->bannedby ? : 'server' }}
{{ $banAppeal->ban->banreason }} |
@else
Unknown |
Unknown
Unknown |
@endif
{{ $banAppeal->created_at->format('H:i:s d/m/Y') }} | @if ($banAppeal) @switch ($banAppeal->status) @case('pending') @if ($unseenMessages > 0) {{ __('gm_ban_appeals_page')['unseen'] }} {{ $unseenMessages }} {{ __('gm_ban_appeals_page')['messages'] }} @elseif ($playerUnseenMessages > 0) {{ __('gm_ban_appeals_page')['delivered'] }} {{ $playerUnseenMessages }} {{ __('gm_ban_appeals_page')['messages'] }} @elseif ($banAppeal->editedBy) {{ __('gm_ban_appeals_page')['responded_by'] }} {{ $banAppeal->editedBy->username }} @else {{ __('gm_ban_appeals_page')['pending'] }} @endif @break @case('closed') {{ __('gm_ban_appeals_page')['closed'] }} @break @case('approved') {{ __('gm_ban_appeals_page')['unbanned'] }} @break @endswitch @else {{ __('gm_ban_appeals_page')['unbanned'] }} @endif | {{ __('gm_ban_appeals_page')['respond'] }} |