diff --git a/NzbDrone.Api/Indexers/ReleaseModule.cs b/NzbDrone.Api/Indexers/ReleaseModule.cs
index adba147de..2fd32e2ea 100644
--- a/NzbDrone.Api/Indexers/ReleaseModule.cs
+++ b/NzbDrone.Api/Indexers/ReleaseModule.cs
@@ -89,6 +89,7 @@ namespace NzbDrone.Api.Indexers
release.InjectFrom(downloadDecision.RemoteEpisode.ParsedEpisodeInfo);
release.InjectFrom(downloadDecision);
release.Rejections = downloadDecision.Rejections.ToList();
+ release.DownloadAllowed = downloadDecision.RemoteEpisode.DownloadAllowed;
result.Add(release);
}
diff --git a/UI/Cells/cells.less b/UI/Cells/cells.less
index 1e4ec5618..91e89f2b6 100644
--- a/UI/Cells/cells.less
+++ b/UI/Cells/cells.less
@@ -23,6 +23,10 @@
.download-report-cell {
.clickable();
+
+ i {
+ .clickable();
+ }
}
.toggle-cell{
diff --git a/UI/Release/DownloadReportCell.js b/UI/Release/DownloadReportCell.js
index 49a666f8b..a9a1c7a3e 100644
--- a/UI/Release/DownloadReportCell.js
+++ b/UI/Release/DownloadReportCell.js
@@ -14,6 +14,11 @@ define(
_onClick: function () {
+ if (!this.model.get('downloadAllowed'))
+ {
+ return;
+ }
+
var self = this;
this.$el.html('');
@@ -36,6 +41,10 @@ define(
this.$el.html('');
}
+ else {
+ this.className = 'no-download-report-cell';
+ }
+
return this;
}
});