Skip to content

Commit

Permalink
fix attempt again
Browse files Browse the repository at this point in the history
  • Loading branch information
BrennanB committed Oct 24, 2024
1 parent 4669187 commit 9e1737b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions home/templates/home/user_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ <h5>{{user.username}}#{{user.discriminator}}</h5>
</tr>
</thead>
<tbody>
{% for item in modes %}
{% for game_mode, player_elo in modes.items %}
<tr>
<td>{{ item.mode.name }}</td>
{% if item.elo %}
<td>{{ item.elo.elo|floatformat:1 }}</td>
<td>{{ item.elo.matches_won }}-{{ item.elo.matches_lost }}-{{ item.elo.matches_drawn }}</td>
<td>{{ game_mode.name }}</td>
{% if player_elo %}
<td>{{ player_elo.elo|floatformat:1 }}</td>
<td>{{ player_elo.matches_won }}-{{ player_elo.matches_lost }}-{{ player_elo.matches_drawn }}</td>
{% else %}
<td colspan="2">Not Played</td>
{% endif %}
Expand Down

0 comments on commit 9e1737b

Please sign in to comment.