diff --git a/Resources/js/widget/file_upload.js b/Resources/js/widget/file_upload.js
index 0028c3ff813573522b91f94e05f739ea6c8f77e3..8b02e92e7ad2d9c3bc9c5806050b731f3d2336a1 100644
--- a/Resources/js/widget/file_upload.js
+++ b/Resources/js/widget/file_upload.js
@@ -20,17 +20,22 @@
         delete options.downloadPrototype;
 
         var formatSize = function(size) {
-            if(size > 1000000000) {
-                return (size/1000000000).toFixed(2) + ' Gio';
-            }
-            if(size > 1000000) {
-                return (size/1000000).toFixed(2) + ' Mio';
-            }
-            if(size > 1000) {
-                return (size/1000).toFixed(2)+ ' Kio';
-            }
-            return size + ' o';
-        };
+                if(size > 1000000000) {
+                    return (size/1000000000).toFixed(2) + ' Gio';
+                }
+                if(size > 1000000) {
+                    return (size/1000000).toFixed(2) + ' Mio';
+                }
+                if(size > 1000) {
+                    return (size/1000).toFixed(2)+ ' Kio';
+                }
+                return size + ' o';
+            },
+            formatBitrate = function(rate) {
+                return formatSize(rate) + '/s';
+            };
+
+        $this.find('.template-download .size').each(function() { $(this).html(formatSize($(this).text())); });
 
         var formatBitrate = function(rate) { return formatSize(rate) + '/s'; };