2013-06-07 23:54:46 +00:00
|
|
|
"use strict";
|
2013-06-09 20:51:32 +00:00
|
|
|
NzbDrone.Release.ApprovalStatusCell = Backgrid.Cell.extend({
|
2013-06-07 23:54:46 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
});
|