mirror of https://github.com/Sonarr/Sonarr
21 lines
483 B
JavaScript
21 lines
483 B
JavaScript
var vent = require('vent');
|
|
var NzbDroneCell = require('../../Cells/NzbDroneCell');
|
|
|
|
module.exports = NzbDroneCell.extend({
|
|
className : 'history-details-cell',
|
|
|
|
events : {
|
|
'click' : '_showDetails'
|
|
},
|
|
|
|
render : function() {
|
|
this.$el.empty();
|
|
this.$el.html('<i class="icon-sonarr-info"></i>');
|
|
|
|
return this;
|
|
},
|
|
|
|
_showDetails : function() {
|
|
vent.trigger(vent.Commands.ShowHistoryDetails, { model : this.model });
|
|
}
|
|
}); |