mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +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 sorttable_customkey="{{ record.rank_tier }}">
|
||||
<div class="dota-rank-medal">
|
||||
<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 %}
|
||||
{{ record.get_rank_name() }} {{ record.get_rank_number() }}
|
||||
{% else %}
|
||||
{% 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 %}
|
||||
{% endif %}
|
||||
{% if record.rank_tier is not None and record.rank_tier < 10 %}
|
||||
<span class="rl-unranked">Unranked</span>
|
||||
{% else %}
|
||||
{{ record.get_rank_name() }} {{ record.get_rank_number() }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
|
|
Loading…
Reference in a new issue