mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
27 lines
617 B
JavaScript
27 lines
617 B
JavaScript
'use strict';
|
|
|
|
define(
|
|
[
|
|
'vent',
|
|
'Cells/NzbDroneCell'
|
|
], function (vent, 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 () {
|
|
vent.trigger(vent.Commands.ShowHistoryDetails, { model: this.model });
|
|
}
|
|
});
|
|
});
|