mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-24 03:54:20 +00:00
Fix medal display on the Dota table
This commit is contained in:
parent
d9b7615843
commit
f7e98d2847
1 changed files with 6 additions and 4 deletions
|
@ -38,11 +38,13 @@
|
||||||
<td>{{ record.wins }}</td>
|
<td>{{ record.wins }}</td>
|
||||||
<td sorttable_customkey="{{ record.rank_tier }}">
|
<td sorttable_customkey="{{ record.rank_tier }}">
|
||||||
<div class="dota-rank-medal">
|
<div class="dota-rank-medal">
|
||||||
|
{% if record.rank_tier is not None %}
|
||||||
<img class="thirtytwo dota-rank-medal-icon" src="{{ record.get_rank_icon_url() }}">{% if record.get_rank_stars_url() %}<img class="thirtytwo dota-rank-medal-stars" src="{{ record.get_rank_stars_url() }}">{% endif %}
|
<img class="thirtytwo dota-rank-medal-icon" src="{{ record.get_rank_icon_url() }}">{% if record.get_rank_stars_url() %}<img class="thirtytwo dota-rank-medal-stars" src="{{ record.get_rank_stars_url() }}">{% endif %}
|
||||||
{% if record.rank_tier is not none and record.rank_tier >= 10 %}
|
{% endif %}
|
||||||
{{ record.get_rank_name() }} {{ record.get_rank_number() }}
|
{% if record.rank_tier is not None and record.rank_tier < 10 %}
|
||||||
{% else %}
|
|
||||||
<span class="rl-unranked">Unranked</span>
|
<span class="rl-unranked">Unranked</span>
|
||||||
|
{% else %}
|
||||||
|
{{ record.get_rank_name() }} {{ record.get_rank_number() }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in a new issue