1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-01 16:32:56 +01:00
Sonarr/UI/Release/ApprovalStatusCell.js

20 lines
424 B
JavaScript
Raw Normal View History

2013-06-08 01:54:46 +02:00
"use strict";
NzbDrone.Release.ApprovalStatusCell = Backgrid.Cell.extend({
2013-06-08 01:54:46 +02: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;
}
});