From 63fda9535a3f3ae5431c38e31d5228595507487d Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Sat, 6 Mar 2021 06:09:12 +0100 Subject: [PATCH] use jinja's url_for instead of manual text assembling --- WebHostLib/templates/tracker.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/WebHostLib/templates/tracker.html b/WebHostLib/templates/tracker.html index 15cb1304..d703dfae 100644 --- a/WebHostLib/templates/tracker.html +++ b/WebHostLib/templates/tracker.html @@ -44,7 +44,8 @@ {%- for player, items in players.items() -%} - {{ loop.index }} + {{ loop.index }} {%- if (team, loop.index) in video -%} {%- if video[(team, loop.index)][0] == "Twitch" -%} @@ -120,7 +121,8 @@ {%- for player, checks in players.items() -%} - {{ loop.index }} + {{ loop.index }} {{ player_names[(team, loop.index)]|e }} {%- for area in ordered_areas -%} {%- set checks_done = checks[area] -%}