mirror of
https://github.com/YGGverse/btracker.git
synced 2026-04-01 01:25:33 +00:00
replace filesizeformat filter with app implementation
This commit is contained in:
parent
fc8f9dbc3a
commit
ba692f9d2a
6 changed files with 37 additions and 28 deletions
|
|
@ -9,7 +9,7 @@
|
|||
{% if created %}
|
||||
<li><span title="Created">({{ created }})</span></li>
|
||||
{% endif %}
|
||||
<li><span title="Size">{{ size | filesizeformat }}</span></li>
|
||||
<li><span title="Size">{{ size }}</span></li>
|
||||
{% if files_total %}
|
||||
<li><span title="Files">{{ files_total }} file{{ files_total | pluralize(plural="s") }}</span></li>
|
||||
{% endif %}
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
{{ file.path }}
|
||||
{% endif %}
|
||||
</td>
|
||||
<td>{{ file.size | filesizeformat }}</td>
|
||||
<td>{{ file.size }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue