diff --git a/dev-support/flaky-dashboard-template.html b/dev-support/flaky-dashboard-template.html
index fff7c8201f5..b980b5d76cc 100644
--- a/dev-support/flaky-dashboard-template.html
+++ b/dev-support/flaky-dashboard-template.html
@@ -55,22 +55,19 @@
List of Jobs
-{% set counter = 0 %}
{% for url in results %}
-{% set counter = counter + 1 %}
-{{ url |e }}
+{{ url |e }}
{% endfor %}
Results
-{% set counter = 0 %}
{% for url in results %}
{% set result = results[url] %}
+{% set url_counter = loop.index %}
{# Dedup ids since test names may duplicate across urls #}
-{% set counter = counter + 1 %}
-
+
{{ url |e }}
Go to
@@ -108,7 +105,7 @@
{{ failed|length }} / {{ timeout|length }} / {{ hanging|length }}