A fix to the about page and also started to rework the notification backend slightly to easily add more notifications

This commit is contained in:
Jamie.Rees 2017-03-14 08:38:37 +00:00
commit 13c0b4ed17
6 changed files with 132 additions and 74 deletions

View file

@ -162,7 +162,7 @@ namespace Ombi.Core.StatusChecker
}
var downloadLink = $"{AppveyorApiUrl}/buildjobs/{jobId}/artifacts/{artifactResult.fileName}";
var branchDisplay = EnumHelper<Branches>.GetDisplayValue(branch);
var branchDisplay = EnumHelper<Branches>.GetBranchValue<BranchAttribute>(branch).DisplayName;
var fileversion = AssemblyHelper.GetFileVersion();
var model = new StatusModel