Start of Test Class, fixing ranking visibiliy of open rounds issue
This commit is contained in:
parent
7545760aa2
commit
29e493e22d
11 changed files with 11891 additions and 43 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<section class="text-center">
|
||||
<div class="container">
|
||||
|
||||
<h2>{{ $userName }}</h2>
|
||||
<h2>Spielplan für: {{ $userName }}</h2>
|
||||
|
||||
<table class="table-bordered col-lg-12">
|
||||
<tr class="table-bordered">
|
||||
|
|
@ -12,6 +12,7 @@
|
|||
<td class="table-bordered" style="width:150px;">Runde</td>
|
||||
<td class="table-bordered" style="width:150px;">Spieler 1</td>
|
||||
<td class="table-bordered" style="width:150px;">Spieler 2</td>
|
||||
<td class="table-bordered" style="width:150px;">Ergebnis</td>
|
||||
</tr>
|
||||
|
||||
@foreach($matches as $match)
|
||||
|
|
@ -19,8 +20,15 @@
|
|||
<tr class="table-bordered">
|
||||
<td class="table-bordered" style="width:50px;">{{$leagueNames[$match->league_id]}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$roundNames[$match->round_id]}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user1_name}}</td>
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user2_name}}</td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user1_id}}"> {{$match->user1_name}} </a> </td>
|
||||
<td> <a href="/league/showSingleUserMatches/user_id={{$match->user2_id}}"> {{$match->user2_name}} </a> </td>
|
||||
|
||||
|
||||
@if ($match->user1_rankscore>-1)
|
||||
<td class="table-bordered" style="width:150px;">{{$match->user1_rankscore}}:{{$match->user2_rankscore}}</td>
|
||||
@else
|
||||
<td class="table-bordered" style="width:150px;">ausstehend</td>
|
||||
@endif
|
||||
</tr>
|
||||
|
||||
@endforeach
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue