fix: Variables in template

This commit is contained in:
2025-11-06 18:24:29 +01:00
parent d81521dea7
commit 0609c6cb61

View File

@@ -24,10 +24,10 @@
{% for cheater in cheaters %}
<tr>
<th scope="row" class="text-center">{{ loop.index }}</th>
<td><a href="{{ request.script_root }}/admin/challenges/{{ cheater.challengeid }}">{{ cheater.challenge_name() }}</a></td>
<td><a href="{{ request.script_root }}/teams/{{ cheater.cheatteamid }}">{{ cheater.cheated_team_name() }}</a></td>
<td><a href="{{ request.script_root }}/teams/{{ cheater.sharerteamid }}">{{ cheater.shared_team_name() }}</a></td>
<td><a href="{{ request.script_root }}/teams/{{ cheater.sharerteamid }}">{{ cheater.shared_team_name() }}</a></td>
<td><a href="{{ request.script_root }}/admin/challenges/{{ cheater.challenge.id }}">{{ cheater.challenge.name }}</a></td>
<td><a href="{{ request.script_root }}/admin/users/{{ cheater.cheater.id }}">{{ cheater.cheater.name }}</a></td>
<td><a href="{{ request.script_root }}/admin/users/{{ cheater.helper.id }}">{{ cheater.helper.name }}</a></td>
<td>{{ cheater.flag.content }}</td>
<td>{{cheater.date}}</td>
</tr>
{% endfor %}