diff options
Diffstat (limited to 'src/match_up/templates/games.j2')
| -rw-r--r-- | src/match_up/templates/games.j2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/match_up/templates/games.j2 b/src/match_up/templates/games.j2 index d5afef1..46150f7 100644 --- a/src/match_up/templates/games.j2 +++ b/src/match_up/templates/games.j2 @@ -9,12 +9,12 @@ </thead> <tbody> {% for game in games %} - <tr {% if game.team1.player1 == 'RESERVED' %} class="is-danger" {% endif %}> + <tr {% if game.team1.player1.first == 'RESERVED' %} class="is-danger" {% endif %}> <th align="center" style="width: 8%;">{{ game.court }}</th> - <td style="width: 23%;">{{ game.team1.player1 }}</th> - <td style="width: 23%;">{{ game.team1.player2 }}</th> - <td style="width: 23%;">{{ game.team2.player1 }}</th> - <td style="width: 23%;">{{ game.team2.player2 }}</th> + <td style="width: 23%;"><strong>{{ game.team1.player1.first }}</strong>{{ " " + game.team1.player1.last }}</th> + <td style="width: 23%;"><strong>{{ game.team1.player2.first }}</strong>{{ " " + game.team1.player2.last }}</th> + <td style="width: 23%;"><strong>{{ game.team2.player1.first }}</strong>{{ " " + game.team2.player1.last }}</th> + <td style="width: 23%;"><strong>{{ game.team2.player2.first }}</strong>{{ " " + game.team2.player2.last }}</th> </tr> {% endfor %} </tbody> |
