mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 01:38:24 +00:00
27 lines
620 B
JavaScript
27 lines
620 B
JavaScript
'use strict';
|
|
|
|
define(
|
|
[
|
|
'app',
|
|
'Cells/NzbDroneCell'
|
|
], function (App, NzbDroneCell) {
|
|
return NzbDroneCell.extend({
|
|
|
|
className: 'history-details-cell',
|
|
|
|
events: {
|
|
'click': '_showDetails'
|
|
},
|
|
|
|
render: function () {
|
|
this.$el.empty();
|
|
this.$el.html('<i class="icon-info-sign"></i>');
|
|
|
|
return this;
|
|
},
|
|
|
|
_showDetails: function () {
|
|
App.vent.trigger(App.Commands.ShowHistoryDetails, { history: this.model });
|
|
}
|
|
});
|
|
});
|