replace filesizeformat filter with app implementation

This commit is contained in:
yggverse 2025-09-11 17:47:42 +03:00
parent fc8f9dbc3a
commit ba692f9d2a
6 changed files with 37 additions and 28 deletions

View file

@ -10,7 +10,7 @@
<ul>
<li><span title="Indexed">{{ row.indexed }}</span></li>
{% if row.created %}<li><span title="Created">({{ row.created }})</span></li>{% endif %}
<li><span title="Size">{{ row.size | filesizeformat }}</span></li>
<li><span title="Size">{{ row.size }}</span></li>
{% if row.files %}<li><span title="Files">{{ row.files }} file{{ row.files | pluralize(plural="s") }}</span></li>{% endif %}
{% if row.scrape %}
<li><span title="Seeders" class="seeders">{{ row.scrape.seeders }}</span></li>