1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-01 04:25:55 +00:00
Lidarr/UI/Shared/Cells/ApprovalStatusCell.js

20 lines
429 B
JavaScript
Raw Normal View History

2013-06-07 23:54:46 +00:00
"use strict";
NzbDrone.Shared.Cells.ApprovalStatusCell = Backgrid.Cell.extend({
className: "approval-status-cell",
render: function () {
var rejections = this.model.get(this.column.get("name"));
var result = '';
_.each(rejections, function (reason) {
result += reason + ' ';
});
this.$el.html(result);
this.delegateEvents();
return this;
}
});