Episode grid will show downloading on grab

New: Update episode status in UI on grab and download
This commit is contained in:
Mark McDowall
2013-10-01 22:20:30 -07:00
parent b6693a20a9
commit daeb2fc652
37 changed files with 613 additions and 128 deletions
+27
View File
@@ -0,0 +1,27 @@
'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 });
}
});
});