humanSize handlebars helper
This commit is contained in:
parent
fe3a76817d
commit
ffac197386
|
@ -354,3 +354,7 @@ Handlebars.registerHelper('customHTML', function(property) {
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Ember.Handlebars.registerBoundHelper('humanSize', function(size) {
|
||||||
|
return new Handlebars.SafeString(I18n.toHumanSize(size));
|
||||||
|
});
|
||||||
|
|
Loading…
Reference in New Issue