2013-06-07 00:50:17 +00:00
|
|
|
"use strict";
|
|
|
|
NzbDrone.Shared.Cells.FileSizeCell = Backgrid.Cell.extend({
|
|
|
|
|
|
|
|
className: "file-size-cell",
|
|
|
|
|
|
|
|
render: function () {
|
2013-06-07 02:39:12 +00:00
|
|
|
var size = this.model.get(this.column.get("name"));
|
2013-06-07 00:50:17 +00:00
|
|
|
this.delegateEvents();
|
2013-06-07 02:39:12 +00:00
|
|
|
return NzbDrone.Shared.FormatHelpers.FileSizeHelper(size);
|
2013-06-07 00:50:17 +00:00
|
|
|
}
|
|
|
|
});
|