format DL size in a human-readible way

This commit is contained in:
2017-12-29 02:56:15 +01:00
parent a67182df2c
commit 28208f1ba6
3 changed files with 11 additions and 3 deletions

View File

@ -18,7 +18,7 @@ vim: ts=2 noexpandtab
{% for result in results %}
<tr>
<td><a href="/download/{{ result[0] }}">{{ result[1] }}</a></td>
<td>{{ result[2]|int / 1000 / 1000 }}</td>
<td>{{ result[2] }}</td>
<td>N/A</td>
<td>N/A</td>
<td>N/A</td>