Add twitch hyperlinking to webhost

This commit is contained in:
Fabian Dill
2020-06-27 13:52:03 +02:00
parent e0e13ac59e
commit 6f9f5cbe14
5 changed files with 44 additions and 8 deletions

View File

@@ -64,7 +64,12 @@
{% for player, items in players.items() %}
<tr>
<td class="table-info">{{ loop.index }}</td>
<td class="table-info">{{ player_names[(team, loop.index)] }}</td>
{% if (team, loop.index) in video %}
<td class="table-info"><a target="_blank"
href="https://www.twitch.tv/{{ video[(team, loop.index)][1] }}">{{ player_names[(team, loop.index)] }}
📺</a></td>
{% else %}
<td class="table-info">{{ player_names[(team, loop.index)] }}</td>{% endif %}
{% for id in tracking_ids %}
{% if items[id] %}