Modify: Archive model - add size field, now use this field for web and admin page

This commit is contained in:
2023-09-02 20:22:40 +09:00
parent 332764fca2
commit eec55b803d
6 changed files with 16 additions and 49 deletions

View File

@@ -19,7 +19,7 @@
<br>
<small>
<b>Size:</b>
<span style="word-wrap: break-word">{{ archive.file.size|sizify }}</span>
<span style="word-wrap: break-word">{{ archive.size|filesizeformat }}</span>
</small>
<div class="row">
<div class="d-flex justify-content-sm-start justify-content-between" >