Verified Commit dd476b60 authored by Štěpán Henek's avatar Štěpán Henek 🌩

nicer record format when ping is not available

parent 2a93377e
......@@ -25,7 +25,7 @@
<td>{{ record["time"] }}</td>
<td>{{ "%0.2f" | format(record["speed_download"]) }}</td>
<td>{{ "%0.2f" | format(record["speed_upload"]) }}</td>
<td>{{ "%0.2f" | format(record["ping"]) }}</td>
<td>{% if record["ping"] >= 0 %}{{ "%0.2f" | format(record["ping"]) }}{% else %}N/A{% endif %}</td>
<td>
<a href="{{ "%s?%s" % (ns.detail_url, record["test_uuid"]) }}">{% trans %}Details{% endtrans %}</a>
&nbsp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment