2015-02-07 18:30:02 +00:00
|
|
|
var vent = require('vent');
|
2015-02-03 01:18:45 +00:00
|
|
|
var NzbDroneCell = require('../../Cells/NzbDroneCell');
|
|
|
|
|
|
|
|
module.exports = NzbDroneCell.extend({
|
2015-02-13 21:03:50 +00:00
|
|
|
className : 'history-details-cell',
|
|
|
|
|
|
|
|
events : {
|
|
|
|
'click' : '_showDetails'
|
|
|
|
},
|
|
|
|
|
|
|
|
render : function() {
|
2015-02-03 01:18:45 +00:00
|
|
|
this.$el.empty();
|
2015-02-21 02:20:31 +00:00
|
|
|
this.$el.html('<i class="icon-sonarr-info"></i>');
|
2015-02-13 21:03:50 +00:00
|
|
|
|
2015-02-03 01:18:45 +00:00
|
|
|
return this;
|
|
|
|
},
|
2015-02-13 21:03:50 +00:00
|
|
|
|
|
|
|
_showDetails : function() {
|
|
|
|
vent.trigger(vent.Commands.ShowHistoryDetails, { model : this.model });
|
2015-02-03 01:18:45 +00:00
|
|
|
}
|
|
|
|
});
|