diff options
| author | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-12 18:15:29 +0100 |
|---|---|---|
| committer | Karan Jayachandra <mail@karanjayachandra.com> | 2024-11-12 18:15:29 +0100 |
| commit | 7c0820d3d19927e695faa18cb3f5494ee39e0c77 (patch) | |
| tree | 16f0c045a928a390558e81610ab8ca68e32249d8 /src/match_up/templates/games.j2 | |
| parent | 7feeb30875c19a9f305e02f802e3634469349655 (diff) | |
Database handling added
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> |
