You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
617 B
28 lines
617 B
11 years ago
|
'use strict';
|
||
|
|
||
|
define(
|
||
|
[
|
||
11 years ago
|
'vent',
|
||
11 years ago
|
'Cells/NzbDroneCell'
|
||
11 years ago
|
], function (vent, NzbDroneCell) {
|
||
11 years ago
|
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 () {
|
||
11 years ago
|
vent.trigger(vent.Commands.ShowHistoryDetails, { model: this.model });
|
||
11 years ago
|
}
|
||
|
});
|
||
|
});
|