summaryrefslogtreecommitdiff
path: root/templates/games.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 23:28:46 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 23:28:46 +0200
commit156056e9c31468564fb53ca284996a5de41471fb (patch)
treed7cf9efc12e0fb411de3f9b33ac2f478cb29133b /templates/games.j2
parent74480cbe2b335fd141cdf5f07bb08808c0d08692 (diff)
Working version with all functionality
Diffstat (limited to 'templates/games.j2')
-rw-r--r--templates/games.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/games.j2 b/templates/games.j2
index 50e1087..0285de1 100644
--- a/templates/games.j2
+++ b/templates/games.j2
@@ -9,7 +9,7 @@
</thead>
<tbody>
{% for game in games %}
- <tr>
+ <tr {% if game.team1.player1 == 'RESERVED' %} class="is-danger" {% endif %}>
<th align="center">{{ game.court }}</th>
<td>{{ game.team1.player1 }}</th>
<td>{{ game.team1.player2 }}</th>