mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 07:01:37 +01:00
fix: display CHR if pb is wr
This commit is contained in:
@@ -24,8 +24,10 @@
|
||||
</td>
|
||||
{% if player %}
|
||||
{% set pb = map.get_best_replay_for_player(player) %}
|
||||
{% if pb %}
|
||||
{% if pb and pb.race_time != map.get_best_replay().race_time %}
|
||||
<td class="px-2">{{ pb.get_human_readable_time() }}</td>
|
||||
{% elif pb %}
|
||||
<td class="px-2" style="color: darkgreen">CRH</td>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<td class="px-2">{{ map.get_best_replay_repr().split(" ")[0] }}</td>
|
||||
|
||||
Reference in New Issue
Block a user