mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-12 22:12:38 +01:00
20 lines
424 B
JavaScript
20 lines
424 B
JavaScript
"use strict";
|
|
NzbDrone.Release.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;
|
|
}
|
|
});
|