Rangliste vollständig
This commit is contained in:
parent
43fd8c8cbf
commit
c4973664b9
8 changed files with 76 additions and 68 deletions
|
|
@ -20,6 +20,7 @@
|
|||
<table class="table-bordered">
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered">Spiel</td>
|
||||
<td class="table-bordered">Anstoss</td>
|
||||
<td class="table-bordered">Ergebnis</td>
|
||||
|
||||
<td class="table-bordered">Tipp</td>
|
||||
|
|
@ -30,11 +31,13 @@
|
|||
@foreach($round->games as $game)
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:600px;"><label class="text" href="/games/edit/{{ $game->id }}">{{ $game->team1 }} : {{ $game->team2 }}</label> </td>
|
||||
<td class="table-bordered" style="width:350px;">{{ App\Game::has_result($game->id)==true ? $game->score1 . ' : ' . $game->score2 : 'Anstoss: ' . $game->kickoff }}</td>
|
||||
<td class="table-bordered" style="width:600px;"><label class="text" > {{ App\User::toGermanDate($game->kickoff) }}</label></td>
|
||||
|
||||
<td class="table-bordered" style="width:350px;">{{ App\Game::has_result($game->id)==true ? $game->score1 . ' : ' . $game->score2 : ' Tippen ' }}</td>
|
||||
|
||||
<td class="table-bordered" style="width:75px;">
|
||||
|
||||
@if(App\Round::hasLockedGame($game->id)==true)
|
||||
@if(App\Round::hasLockedGame($round->id)==true)
|
||||
<span>{{ App\Tipp::resultString(App\Tipp::getTipp( $user->id,$game->id)->id) }} </span>
|
||||
@else
|
||||
<a href="/tipps/edit/{{App\Tipp::getTipp($user->id,$game->id)->id}}">{{ App\Tipp::getTipp($user->id,$game->id)->score1== -1 ? 'Tippen': App\Tipp::resultString(App\Tipp::getTipp($user->id,$game->id)->id) }} </a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue