mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 21:44:21 +00:00
28 lines
1.2 KiB
HTML
28 lines
1.2 KiB
HTML
|
<div class="game-panel">
|
||
|
<div class="game-grid dota">
|
||
|
<div class="player">
|
||
|
<a href="http://steamcommunity.com/profiles/{{ dota.steam.steam_id }}">
|
||
|
<img src="{{ dota.steam.avatar_url() }}" class="player-image">
|
||
|
<span class="player-name">{{ dota.steam.persona_name }}</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
<div class="title wins">
|
||
|
Vittorie
|
||
|
</div>
|
||
|
<div class="number wins">
|
||
|
{{ dota.wins }}
|
||
|
</div>
|
||
|
<div class="rank">
|
||
|
{% if dota.rank_tier is none %}
|
||
|
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
|
||
|
Non classificato
|
||
|
{% elif dota.rank_tier < 10 %}
|
||
|
<img class="medal" src="https://www.opendota.com/assets/images/dota2/rank_icons/rank_icon_0.png">
|
||
|
{{ dota.rank_tier }} piazzamenti completati
|
||
|
{% else %}
|
||
|
<img class="medal" src="{{ dota.get_rank_icon_url() }}">{% if dota.get_rank_stars_url() %}<img class="stars" src="{{ dota.get_rank_stars_url() }}">{% endif %}
|
||
|
{{ dota.get_rank_name() }}[{{ dota.get_rank_number() }}]
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|