1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-05 18:42:42 +01:00

File size won't be bytes anymore

This commit is contained in:
Mark McDowall 2013-06-06 17:51:08 -07:00
parent 763c4bd25b
commit 6c2534ec61
2 changed files with 5 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<tbody>
<tr>
<td>{{path}}</td>
<td>{{size}}</td>
<td>{{fileSize size}}</td>
<td>{{quality.quality.name}}</td>
</tr>
</tbody>

View File

@ -18,3 +18,7 @@ Handlebars.registerHelper("debug", function(optionalValue) {
console.log(optionalValue);
}
});
Handlebars.registerHelper("fileSize", function(size) {
return size.bytes();
});