Team name and logo make clickable in the table

This commit is contained in:
Lucas Patenaude
2024-04-14 12:56:21 -06:00
parent fdd965f5b0
commit 1b6c7de44b
2 changed files with 13 additions and 5 deletions

View File

@@ -32,8 +32,8 @@
{{#each league.standings}}
<tr>
<td>{{table.league_position}}</td>
<td><img src="{{table.team_crest}}" alt="{{table.team_name}} Crest" id="table-logo" class="club-logo" data-club-id="{{table.team_id}}"></td>
<td>{{table.team_name}}</td>
<td><img src="{{table.team_crest}}" alt="{{table.team_name}} Crest" id="club-logo" class="club-logo" data-club-id="{{table.team_id}}"></td>
<td><p id="club-name">{{table.team_name}}</p></td>
<td>{{games_played}}</td>
<td>{{wins}}</td>
<td>{{losses}}</td>