Fancy time for the rest of the fields...
This commit is contained in:
parent
cf82bf4061
commit
193c46caa5
|
@ -93,7 +93,7 @@
|
||||||
Median time:
|
Median time:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ map.times.median | round(2) }}
|
{{ utils.fancyTime(map.times.median) }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -101,7 +101,7 @@
|
||||||
Average time:
|
Average time:
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ map.times.average | round(2) }}
|
{{ utils.fancyTime(map.times.average) }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -127,14 +127,7 @@
|
||||||
<img class="country-image" data-src="https://ddnet.tw/countryflags/{{ record.server }}.png">
|
<img class="country-image" data-src="https://ddnet.tw/countryflags/{{ record.server }}.png">
|
||||||
<p class="rank-position">{{ record.teamrank }}.</p>
|
<p class="rank-position">{{ record.teamrank }}.</p>
|
||||||
<p class="rank-player">{{ record.players.join(", ") }}</p>
|
<p class="rank-player">{{ record.players.join(", ") }}</p>
|
||||||
<p class="rank-time">
|
<p class="rank-time">{{ utils.fancyTime(record.time) }}</p>
|
||||||
{{ (record.time - (record.time % 60)) / 60 }}:
|
|
||||||
{%- if record.time | round % 60 > 9 %}
|
|
||||||
{{- record.time | round % 60 }}
|
|
||||||
{%- else -%}
|
|
||||||
0{{- record.time | round % 60 }}
|
|
||||||
{%- endif %}
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user