From 55beccf7f479f6278cc29fa00c4acafc6a683994 Mon Sep 17 00:00:00 2001 From: Darks Date: Tue, 27 Apr 2021 19:35:37 +0200 Subject: [PATCH] widgets: humanize sizes of attachements --- app/templates/widgets/attachments.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/widgets/attachments.html b/app/templates/widgets/attachments.html index 7c11844..529698d 100644 --- a/app/templates/widgets/attachments.html +++ b/app/templates/widgets/attachments.html @@ -8,7 +8,7 @@ {% for a in comment.attachments %} {{ a.name }} - {{ a.size }} + {{ a.size | humanize(unit='o') }} {% endfor %}