1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00
This commit is contained in:
Steffo 2018-02-02 11:33:00 +01:00
parent 4eee2268b7
commit 7e4699b7c3

View file

@ -38,10 +38,10 @@
<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 %} {% 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 %}
{% endif %} {% endif %}
{% if record.rank_tier is not None and record.rank_tier < 10 %} {% if record.rank_tier is not none and record.rank_tier < 10 %}
<span class="rl-unranked">Unranked</span> <span class="rl-unranked">Unranked</span>
{% else %} {% else %}
{{ record.get_rank_name() }} {{ record.get_rank_number() }} {{ record.get_rank_name() }} {{ record.get_rank_number() }}