1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-24 03:54:20 +00:00

Add <a>s pointing to steam profiles

This commit is contained in:
Steffo 2017-10-25 11:29:55 +02:00
parent 5b8f3bd386
commit e3c56137c2
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: C27544372FBB445D

View file

@ -27,7 +27,7 @@
{% for record in dota_data %} {% for record in dota_data %}
<tr> <tr>
<td>{{ record.steam.royal.username }}</td> <td>{{ record.steam.royal.username }}</td>
<td><img src="{{ record.steam.avatar_url() }}"> {{ record.steam.persona_name }}</td> <td><a href="http://steamcommunity.com/profiles/{{ record.steam.steam_id }}"><img src="{{ record.steam.avatar_url() }}"> {{ record.steam.persona_name }}</a></td>
<td>{{ record.wins }}</td> <td>{{ record.wins }}</td>
<td>{{ record.solo_mmr if record.solo_mmr is not none}}</td> <td>{{ record.solo_mmr if record.solo_mmr is not none}}</td>
<td>{{ record.party_mmr if record.party_mmr is not none}}</td> <td>{{ record.party_mmr if record.party_mmr is not none}}</td>
@ -53,7 +53,7 @@
{% for record in rl_data %} {% for record in rl_data %}
<tr> <tr>
<td>{{ record.steam.royal.username }}</td> <td>{{ record.steam.royal.username }}</td>
<td><img src="{{ record.steam.avatar_url() }}"> {{ record.steam.persona_name }}</td> <td><a href="http://steamcommunity.com/profiles/{{ record.steam.steam_id }}"><img src="{{ record.steam.avatar_url() }}"> {{ record.steam.persona_name }}</a></td>
<td class="rl-rank" sorttable_customkey="{{ record.single_mmr if record.single_mmr is not none }}"> <td class="rl-rank" sorttable_customkey="{{ record.single_mmr if record.single_mmr is not none }}">
{% if record.single_rank is not none %} {% if record.single_rank is not none %}
<img class="thirtytwo" src="https://rocketleaguestats.com/assets/img/rocket_league/ranked/season_four/{{ record.single_rank }}.png"> <img class="thirtytwo" src="https://rocketleaguestats.com/assets/img/rocket_league/ranked/season_four/{{ record.single_rank }}.png">