You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
424 B
20 lines
424 B
12 years ago
|
"use strict";
|
||
12 years ago
|
NzbDrone.Release.ApprovalStatusCell = Backgrid.Cell.extend({
|
||
12 years ago
|
|
||
|
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;
|
||
|
}
|
||
|
});
|