@extends('template.layout') @section('title', 'Latest Deaths') @section('submenuItem', 'latestdeath') @section('content')
Latest Deaths
@forelse($latestDeaths as $death) @php date_default_timezone_set('America/Sao_Paulo'); $rowClass = $loop->index % 2 == 0 ? 'Odd' : 'Even'; @endphp @empty @endforelse
{{ date('M d Y, H:i:s', $death->time) }} BRT {{$death->player->name }} killed at Level {{ $death->level }} by @if(!$death->is_player) {{ Str::strWithArticle($death->killed_by) }} @else {{ $death->killed_by }}@if($death->unjustified) (Unjustified) @endif @endif @if($death->killed_by !== $death->mostdamage_by) and by @if(!$death->mostdamage_is_player) {{ Str::strWithArticle($death->mostdamage_by) }} @else {{ $death->mostdamage_by }}@if($death->unjustified) (Unjustified) @endif @endif @endif
No one has died yet.
@endsection