lidarr/src/UI/Activity/History/HistoryDetailsCell.js
Mark McDowall 1225bbe8dc Activity instead of History
New: Renamed history to activity
New: Queue is default tab of activity
2014-10-12 00:32:56 -07:00

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 });
}
});
});