Some small backend newsletter changes, we can now detect if there are any movies and/or tv shows, if there are none then we will no longer send out an empty newsletter.

Also fixed the issue where we were not escaping the sonarr root folders #1118
This commit is contained in:
Jamie.Rees 2017-03-16 14:55:26 +00:00
commit 2b8a5c6423
8 changed files with 73 additions and 24 deletions

View file

@ -1,4 +1,4 @@
@using Ombi.UI.Helpers
 @using Ombi.UI.Helpers
@Html.Partial("Shared/Partial/_Sidebar")
@{
int port;
@ -16,6 +16,7 @@
{
rootFolder = Model.RootPath.Replace("/", "//");
rootFolder = rootFolder.Replace(@"\", @"\\");
}
}
<div class="col-sm-8 col-sm-push-1">