|
@if ($paginator->hasPages())
{!! preg_replace(["/(\?page=)/", "/(\/\?page=)/"], ['', ''], $paginator->links('vendor.pagination.highscores-pagination', ['paginator' => $paginator, 'baseUrl' => route('community.highscores.index'), 'skill_url' => $config['skill_url'], 'vocation' => $config['vocation']])) !!}
@endif
|
| Rank |
Name |
Vocation |
@if($config['showLevel'])
Level |
@endif
{{ $config['rowName'] }} |
@foreach($players as $key => $player)
@php
$rowClass = $loop->index % 2 == 0 ? 'Even' : 'Odd';
@endphp
| {{ $key + 1 }} |
{{ $player->name }}
|
{{ \App\Utils\Vocation::getNameByVocationId($player->vocation) }} |
@if($config['showLevel'])
{{ $player->level }} |
@endif
{{ number_format($player->skill) }} |
@endforeach
|
|
@if ($paginator->hasPages())
{!! preg_replace(["/(\?page=)/", "/(\/\?page=)/"], ['', ''], $paginator->links('vendor.pagination.highscores-pagination', ['paginator' => $paginator, 'baseUrl' => route('community.highscores.index'), 'skill_url' => $config['skill_url'], 'vocation' => $config['vocation']])) !!}
@endif
|
|