|
|
@ -16,8 +16,6 @@ define(
|
|
|
|
if (this.cellValue) {
|
|
|
|
if (this.cellValue) {
|
|
|
|
var status = this.cellValue.get('status').toLowerCase();
|
|
|
|
var status = this.cellValue.get('status').toLowerCase();
|
|
|
|
var trackedDownloadStatus = this.cellValue.get('trackedDownloadStatus').toLowerCase();
|
|
|
|
var trackedDownloadStatus = this.cellValue.get('trackedDownloadStatus').toLowerCase();
|
|
|
|
var hasError = this.cellValue.get('hasError') || false;
|
|
|
|
|
|
|
|
var hasWarning = this.cellValue.get('hasWarning') || false;
|
|
|
|
|
|
|
|
var icon = 'icon-nd-downloading';
|
|
|
|
var icon = 'icon-nd-downloading';
|
|
|
|
var title = 'Downloading';
|
|
|
|
var title = 'Downloading';
|
|
|
|
var itemTitle = this.cellValue.get('title');
|
|
|
|
var itemTitle = this.cellValue.get('title');
|
|
|
@ -55,7 +53,6 @@ define(
|
|
|
|
|
|
|
|
|
|
|
|
if (trackedDownloadStatus === 'warning') {
|
|
|
|
if (trackedDownloadStatus === 'warning') {
|
|
|
|
icon += ' icon-nd-warning';
|
|
|
|
icon += ' icon-nd-warning';
|
|
|
|
// title = 'Download failed';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.templateFunction = Marionette.TemplateCache.get(this.template);
|
|
|
|
this.templateFunction = Marionette.TemplateCache.get(this.template);
|
|
|
|
content = this.templateFunction(this.cellValue.toJSON());
|
|
|
|
content = this.templateFunction(this.cellValue.toJSON());
|
|
|
|