mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
e7ac2247ab
New: Logs now have details available
28 lines
617 B
JavaScript
28 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 });
|
|
}
|
|
});
|
|
});
|