mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 18:28:19 +00:00
26 lines
569 B
JavaScript
26 lines
569 B
JavaScript
'use strict';
|
|
define(
|
|
[
|
|
'backgrid'
|
|
], function (Backgrid) {
|
|
|
|
|
|
return 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;
|
|
}
|
|
});
|
|
});
|