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